Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_Task 1

Public visualization

activity6_Task 1

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

This bar chart displays the top 20 countries by their 2010 population. The code uses D3 version 5 within a React framework to render SVG elements, with a linear scale for population and a band scale for country names. The `axisBottom` and `axisLeft` components generate the axes, while the `marks` component creates the bars, each with a tooltip showing the formatted population value. Data is loaded from a CSV file via D3's `csv` function.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed