Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task_1.2

Public visualization

Viewing a saved revision (read-only)

3e98ca6ad03f43e28403e1462ed9b3fe

activity 6_Task_1.2

0 stars0🌍 Public
Ppaulphillips@my.unt.edu
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from activity 6_Task_1

This example shows a horizontal bar chart ranking 20 countries by their 2010 population, with country names on the y-axis and population values on the logarithmic x-axis. The visualization is built using React with D3 v5 APIs including `scaleBand`, `scaleLinear`, and `csv` for data loading. The chart renders bars as SVG rectangles with hover tooltips showing formatted population values, and loads its data from a GitHub-hosted CSV file.

AI-generated description

A demonstration of how to start using D3 version 6.