Skip to main content
100%

Task 8_Task 1

✓ Published1🌍 Public
Jjaswanthichowdarykalapala@my.unt.edu
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Task 8

This example displays a horizontal bar chart of population data for ten countries in the year 2000, using an SVG rendered through React. The visualization imports D3 v5 modules like `scaleBand`, `scaleLinear`, `format`, and `csv` to load the dataset from a GitHub URL and map country names to categorical bands with population values on a linear scale. The `AxisBottom` and `AxisLeft` components generate tick marks and labels, while the `Marks` component draws green rectangles with tooltips showing formatted population values, with the bottom axis labeled "POPULATION-2000".

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