Skip to main content
100%

Fork of Making A Bar Chart basic

✓ Published0🌍 Public
NNigel
Last edited May 14, 2023
Created on May 14, 2023
Forked from Making A Bar Chart

This bar chart visualizes the population (in thousands) of the ten most populous countries, using a dataset loaded from a CSV file. Built with D3.js (v7) and SVG, the chart employs `scaleBand` for the categorical x-axis and `scaleLinear` for the continuous y-axis, with axes added via `axisBottom` and `axisLeft`. Bars fill with steelblue, but interactive `mouseover` and `mouseout` events change a bar’s fill to red and back to black, highlighting individual data points.

AI-generated description
MIT Licensed

Similar vizzes