Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6

Public visualization

Activity-6

0 stars0🌍 Public
KKavyaEti
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example shows the populations of 30 countries in 2020 as horizontal bars. A bar chart uses a linear scale for population values on the x-axis and a band scale for country names on the y-axis. The visualization is rendered with React and D3 v5’s `scaleBand`, `scaleLinear`, and `format` APIs, drawing SVG rectangles as marks. Data loads from a CSV file, and tooltips display formatted population values.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed