Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question1.1

Public visualization

Viewing a saved revision (read-only)

83a08aeec70047d49f9d4d71a59e09b7

Activity6_Question1.1

0 stars0🌍 Public
Nnikhithadadi@my.unt.edu
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Hello VizHub

This bar chart displays the populations of ten countries in the year 2000, using horizontal bars colored in light green. The chart is built with React and D3 v5, rendering as an SVG. It uses `d3.scaleBand` for the categorical y-axis (countries) and `d3.scaleLinear` for the quantitative x-axis (population), with tick marks styled via CSS. Population values are formatted using `d3.format` and shown as tooltips. Data is loaded from a remote CSV file and processed with `d3.csv`.

AI-generated description

A demonstration of how to start using D3 version 6.