Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question1.2

Public visualization

Viewing a saved revision (read-only)

d8135ecf4dfe4e5bae529518f2be4c3c

Activity6_Question1.2

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

This visualization displays the populations of 20 countries in 2010 as horizontal bars, using a bar chart format. D3 v5 scale functions, including `scaleBand` and `scaleLinear`, map country names and population values to SVG coordinates, while React components render the axes and marks. The chart sorts data from a CSV file, formats population values with the `format('.2s')` API, and includes a tooltip via SVG `<title>` elements, showing the underlying data source and rendering pipeline.

AI-generated description

A demonstration of how to start using D3 version 6.