block by curran 8ac62d283a7aa6e95de8

Horizontal Bar Chart

Full Screen

This example shows how to make a horizontal bar chart with D3.js and Google Fonts. It is derived from example 105 of the screencast Introduction to D3.js.

The data shown in this example is from the List of cities proper by population Wikipedia page. The data used in the original example used city populations from GeoNames, which seemed to be inaccurate for the top 10 cities.

index.html

top10cities.csv