Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a Bar Chart!

Public visualization

Fork of Making a Bar Chart!

0 stars1🌍 Public
MMustafa Shaheer Hamid
Last edited Feb 28, 2021
Created on Feb 28, 2021

This bar chart displays the population of ten countries, from China to Mexico, using vertical bars rendered as SVG rectangles. The visualization loads data from a CSV file via `d3.csv`, parses the population values as numbers, and uses a simple `svg.selectAll('rect')` selection pattern to bind data. The chart relies on D3 v6, with the SVG canvas sized at 960 by 500 pixels and styled through an external stylesheet. The code is minimal, focusing on data loading and selection without defining scales or axes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed