Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Exercise - Bar Chart

Public visualization

D3 Exercise - Bar Chart

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed