Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's make a face with D3.js!

Public visualization

Viewing a saved revision (read-only)

2831c93f8dd44b11afbd64c608155704

Fork of Let's make a face with D3.js!

0 stars2🌍 Public
Zzenoe
Last edited Oct 4, 2021
Created on Jan 3, 2021
Forked from Making a Bar Chart

This visualization maps population data for ten countries as horizontal bars, with each bar’s width proportional to its population and height set by a categorical y-axis. It loads data from a CSV file, converts the population values, and uses d3.scaleLinear and d3.scaleBand to position the bars within an SVG. The code relies on d3.csv for data parsing and d3.select to append SVG rectangles.

AI-generated description