Skip to main content
100%

D3 Examples - Loading CSV Data

✓ Published0🌍 Public
LLucaBrassi
Last edited Apr 11, 2015
Created on Apr 11, 2015

A horizontal bar chart displays total provincial grant funding for Ontario colleges in 2013, with bars sorted in descending order from largest to smallest total. The chart uses D3 v3 with SVG rendering, loading the data from a CSV file via `d3.csv`. Axes are created with `d3.svg.axis`, and a linear scale maps funding values to bar widths while an ordinal scale positions colleges along the y-axis. Hovering over a bar reveals a tooltip with the exact dollar amount via an appended SVG `title` element.

AI-generated description

Similar vizzes