Skip to main content
100%

Activity6 Task-1

✓ Published0🌍 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.

MIT Licensed

Similar vizzes