Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3.js

Public visualization

Viewing a saved revision (read-only)

194dc658c5494d7d8c8c010c43fc69aa

Let's make a face with D3.js

0 stars0🌍 Public
Ppcbt1125
Last edited Nov 6, 2019
Created on Nov 6, 2019

This example shows a horizontal bar chart of population data for ten countries, using D3.js v5 with SVG rendering. The chart displays population values on the x-axis and country names on the y-axis, with steel-blue bars sized proportionally. The code uses `d3.csv` to load the data, `scaleLinear` and `scaleBand` for scaling, and `axisLeft` and `axisBottom` for axes. The dataset is drawn from the included CSV file, with population values multiplied by 1000.

AI-generated description