Two graphs arranged using bootstrap
Two line charts display fictional company data—projected profits and production costs—side by side with a text column between them, laid out with Twitter Bootstrap’s grid system. Each chart plots date against a numeric value using D3’s time scale, linear scale, and `d3.svg.line`, with axes created via `d3.svg.axis`. The SVG charts are appended to Bootstrap column divs, and the data comes from two CSV files loaded with `d3.csv`. The example demonstrates how Bootstrap columns arrange multiple D3 visualizations and text in a responsive row.
AI-generated descriptionThis is a follow on from the multiple simple graphs on one page used as an example in the book D3 Tips and Tricks.
It demonstrates the loading of two graphs and a paragraph of text and organising them using twitter bootstrap. In the default display on bl.ocks.org the graphs and text may appear vertically, but if you open in a full window they should look more as anticipated.
It should be taken in context with the text of the book which can be downloaded for free from Leanpub.