Skip to main content
100%

D3 Exercise - Bar Chart

✓ Published1🌍 Public
Ddavidvanr21
Last edited Nov 12, 2020
Created on Nov 12, 2020

This bar chart displays population figures for a country from 2014 through 2019, with the values scaled to represent thousands. Built with D3 v6, the visualization uses `scaleLinear` and `scaleBand` to map populations to horizontal bars, while `axisLeft` and `axisBottom` generate the chart’s axes. Data is loaded from a CSV file and rendered as SVG rectangles, with the bars colored steelblue and text labels in grey.

AI-generated description
MIT Licensed

Similar vizzes