Skip to main content
100%

Task-6 Q1

✓ Published0🌍 Public
AAnilKumarReddyVanteru@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example displays a horizontal bar chart of the top 10 countries by population for the year 2000, fetched from a CSV file via the `csv` function in D3 v5. The React-based visualization uses SVG and D3's `scaleBand` and `scaleLinear` for axes, with bars rendered as `rect` elements that include tooltips formatted with D3's `format`. The code demonstrates local module imports for axes and marks, and loads D3 and React from UNPKG.

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