Skip to main content
100%

Fork of Simple Bar Chart

✓ Published0🌍 Public
Kkotlavamsireddy@gmail.com
Last edited Mar 20, 2024
Created on Mar 20, 2024
Forked from Simple Bar Chart

This fork of a simple bar chart visualizes the top 10 most populous countries as of January 1st, 2024, using an SVG rendering approach. The chart loads data from a CSV file hosted on GitHub via D3's `d3.csv` method, then displays it using `d3.scaleBand` for the categorical x-axis and `d3.scaleLinear` for the numeric y-axis. Bars are drawn as SVG rectangles, with axes added via `d3.axisBottom` and `d3.axisLeft`. The code includes a video tutorial link and is structured for easy modification with new datasets.

AI-generated description

A bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.

Challenge

  • Fork this viz and modify it to show your own data
MIT Licensed

Similar vizzes