Skip to main content
100%

Activity 6_Task1 Question 1

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

This example displays a horizontal bar chart of population data for ten countries in the year 2000, using d3.scaleBand for the categorical y-axis and d3.scaleLinear for the numeric x-axis. The React application loads CSV data from a GitHub repository via d3.csv, formats population values with the d3.format function, and renders SVG rectangles as marks with tooltips. Custom axis components generate tick lines and labels, while the chart includes a bottom axis label for "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