Skip to main content
100%

Activity 6_Task1 Question2

✓ Published0🌍 Public
Rramsrinivaskatragadda@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity 6_Task1

This horizontal bar chart displays the population of 20 countries in 2010. The bars are rendered as SVG rectangles using React, with a green fill and blue tick lines. The chart uses D3's `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and `format` to abbreviate large numbers. Data is loaded from a CSV file via `d3.csv`, and hover tooltips show the formatted population values.

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