Skip to main content
100%

Activity06 Q.1.2

✓ Published0🌍 Public
Bbharatchowdarypotluri@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity06 Q.1.1

This example displays a horizontal bar chart of the top 20 countries by population in 2010, using a responsive SVG rendered through React. The code builds scales with d3.scaleBand and d3.scaleLinear, loads CSV data via d3.csv, and formats axis ticks with d3.format. Custom React components (AxisBottom, AxisLeft, Marks) generate the chart elements, with hover tooltips provided by SVG title tags.

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