Need a REALLY Basic HTML PageSee original GitHub issue
I 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>
- Created 6 years ago
- Comments:13 (2 by maintainers)
Top GitHub Comments
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:
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.