4 ms·
If anyone has a good library or a pro tip for making responsive charts, I’d love to know; I am somehow still having trouble implementing it: * http://bl.ocks.o
by pessimism 11y ago
If anyone has a good library or a pro tip for making responsive charts, I’d love to know; I am somehow still having trouble implementing it:
* http://bl.ocks.org/ndarville/11094667 http://bl.ocks.org/ndarville/11094667
* https://github.com/ndarville/d3-charts/issues/11 https://github.com/ndarville/d3-charts/issues/11
- me_bx 11y agoThis tutorial is not bad at all: Building Responsive Visualizations with D3.js [1] [1]: https://blog.safaribooksonline.com/2014/02/17/building-responsible-visualizations-d3-js/ https://blog.safaribooksonline.com/2014/02/17/building-respo...
- yaph 11y agoFor the basic chart types, I think dimple is a good choice. Here is an example for creating a responsive bar chart http://dimplejs.org/advanced_examples_viewer.html?id=advanced_responsive_sizing http://dimplejs.org/advanced_examples_viewer.html?id=advance... By default, as fas as my experience goes, charts will fit the containing element, if width and height of the chart are not set explicitly.