Skip to main content
100%

Activity 6_Q1.1

✓ Published0🌍 Public
SSahithi.R
Last edited Oct 25, 2024
Created on Oct 25, 2024
Forked from Activity 6_Task 1

This example displays a horizontal bar chart of population data for ten countries from a CSV file, using green bars ordered by country name. It loads data via `d3.csv` and renders the visualization with React and SVG. The chart uses `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and custom `AxisBottom`, `AxisLeft`, and `Marks` components to draw the bars and axes. Blue tick lines, formatted tick labels using `d3.format`, and a "POPULATION-2000" axis label are included.

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