Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets make a face!

Public visualization

Lets make a face!

0 stars1🌍 Public
Bbcwein
Last edited Mar 29, 2020
Created on Mar 29, 2020
Forked from Lets make a face!

This example shows a horizontal bar chart of population data for ten countries, encoded as SVG rectangles scaled by each country’s population value. The code loads data from `data.csv` and builds the visualization using D3 v5 APIs, including `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. The bars are appended to a translated `<g>` element, with the y-axis labeling countries and the x-axis scaled to the maximum population.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed