D3 Example
✓ Published0🌍 Public
CCurran Kelleher
Last edited Nov 21, 2015
Created on Nov 21, 2015
A single orange rectangle represents the world population of 7,349,472,099 from the CSV file `worldPopulation2015.csv`. The visualization uses D3’s ordinal and linear scales to position the bar and axis, with a custom tick format that abbreviates billions as “B”. The SVG rendering includes labeled axes, using the `d3.svg.axis` API and a `d3.format("s")` helper, while the bar’s height encodes the population value against the scaled y-axis.
AI-generated descriptionCurrent world population visualized using a single rectangle. This is example 5 from the screencast Splitting Charts.