Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question-2

Public visualization

Viewing a saved revision (read-only)

3242958db435474b91d4cdc3a52f35f6

Activity 6_Question-2

0 stars0🌍 Public
Rrajkodavati7@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This bar chart displays the populations of twenty countries in 2010, using a horizontal layout with country names on the y-axis and population values on the x-axis. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical axis and `scaleLinear` for the numeric scale. Rectangles render the bars, with `format` for tick labels that abbreviate large numbers. Data loads from a CSV file via `csv`, and tooltips appear through SVG `<title>` elements.

AI-generated description

A demonstration of how to start using D3 version 6.