Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6(Task1)

Public visualization

Viewing a saved revision (read-only)

3f2b2719c8164902b421680b65aeaedb

Activity-6(Task1)

0 stars0🌍 Public
Vvandanakosuri@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity-6

This example visualizes the 2010 populations of the top 20 countries as a horizontal bar chart, using a linear scale for population and a band scale for country names. The chart is rendered as an SVG via React, with D3 v5 handling the data loading, scaling, and tick formatting. Data is fetched from a CSV file, and hover tooltips display each bar’s value, formatted with D3’s `format` function.

AI-generated description

A demonstration of how to start using D3 version 6.