Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making A Bar Chart

Public visualization

Viewing a saved revision (read-only)

ee0267c931b94d05857bbe2525745858

Fork of Making A Bar Chart

0 stars1🌍 Public
FFahad Bin Emran
Last edited May 2, 2023
Created on May 2, 2023
Forked from Making A Bar Chart

This example displays a horizontal bar chart of population figures for the ten most populous countries, with each bar’s length proportional to its population value. The visualization uses D3 v7’s `scaleLinear` and `scaleBand` to map the data, and renders the chart as SVG elements created with `selectAll` and `enter()`. Population values are loaded from a CSV file and multiplied by 1000, with axes generated using `axisLeft` and `axisBottom`.

AI-generated description