Need a REALLY Basic HTML Page
See original GitHub issueI was hoping to be able to create a very simple single HTML page with a single chart or two so that the designers could do their thing and then we can incorporate their designs in Angular.
Is there any way to link a simple script tag with a src to have a single page with a chart?
With d3, the following works fine… it’d be great to have something similar.
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<script src="https://d3js.org/d3-selection.v1.min.js"></script>
</head>
<body>
<div id='charts'>
<h1 id='heading'></h1>
</div>
<script>
d3.select('#heading')
.text('My Page');
</script>
</body>
</html>
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
HTML Basic Examples - W3Schools
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP,...
Read more >99 Free HTML Templates You Can Download Right Now
This page describes the 99 best HTML templates that you can get for free. You don't need the overhead of a CMS to...
Read more >My First Site | creating your first website, basic HTML for ...
My First Page Learn the basic structure of a HTML page, a tag, and how to save it as a webpage. Basic Formatting...
Read more >Example of a simple HTML page
Example of a simple HTML page. Hypertext Markup Language (HTML) is the most common language used to create documents on the World Wide...
Read more >HTML basics - Learn web development | MDN
If we wanted to state that our cat is very grumpy, we could wrap the word ... Take the <img> element that we...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @mmartimo, @AlfonsoML and @perborgen,
We have just released a patch that has solved this issue. From now on, you would be able to use a CDN to download Britecharts:
Also, you could find the split modules and the rest of the contents of the
dist
folder in this link:https://cdn.jsdelivr.net/npm/britecharts/dist/
Thanks for your patience!
Hi @AlfonsoML, Ouch! sorry to hear that! Yes, you would need to load the colors helper, you can see the whole demo code in https://github.com/eventbrite/britecharts/blob/master/demos/demo-bar.js
Totally, we are working on making the demos more accessible. Maybe using codePens or JSBin containers. We are working on having a whole bundle download (it’s almost there) and that would allows us to use the CDN and set up test pages easily.