Skip to main content
100%

Activity6_Task1

✓ Published1🌍 Public
Hhemalathayella@my.unt.edu
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This visualization displays the population of ten countries in the year 2000 using horizontal bars, with green rectangles representing each country's population value. The chart is rendered as an SVG within a React framework, using D3 v5 for data processing and axis scaling. Data is loaded from a remote CSV, and the code demonstrates importing D3 modules like `csv`, `scaleBand`, and `scaleLinear`. The `AxisBottom` and `AxisLeft` components generate tick marks and labels, while `Marks` creates the bar rectangles with tooltips.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes