Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6 Task-1

Public visualization

Viewing a saved revision (read-only)

36e37bf517e14275a93e189e1aab3ae1

Activity6 Task-1

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

This bar chart displays the population of various countries for the year 2020, with countries listed on the y-axis and their population values on the x-axis. The data is loaded from a remote CSV file via D3's `csv` function, with the population values multiplied by 1000. The visualization is rendered as an SVG using React, with D3's `scaleBand` and `scaleLinear` for axis scaling. Horizontal bars are generated as `rect` elements in the `Marks` component, and tooltips using the `title` element show the formatted population value.

AI-generated description

A demonstration of how to start using D3 version 6.