Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task1

Public visualization

Activity6_Task1

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

This bar chart visualizes the 2020 population estimates for the top 30 countries, sorted by country name. The horizontal bars are rendered as SVG rectangles using React, with the D3 library's `scaleBand` and `scaleLinear` functions handling the axis mappings. Data is loaded from a remote CSV file via the `d3.csv` function, and axis ticks and labels are generated with custom React components. The chart includes a fixed color scheme and a tooltip that displays the formatted population value.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed