Skip to main content
100%

Task8_Wolfe_Jordan_Question_1

✓ Published1🌍 Public
Jjordanwolfe2@my.untdallas.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Task8_Wolfe_Jordan

This example displays a horizontal bar chart of country populations in 2000, sourced from a CSV file, with population values scaled to thousands. Built with React and D3 v5, it uses `scaleBand` for the country axis and `scaleLinear` for population, while custom components render SVG axes and marks. The bars are red with hover tooltips showing formatted values, and the chart includes a "POPULATION-2000" axis label. Data loading uses React hooks with D3's `csv` function, and the code demonstrates local ES6 module imports alongside direct D3 imports.

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