Skip to main content
100%

harsha actvity6que1

✓ Published1🌍 Public
Ssriharshakondakindi@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This bar chart displays the population of ten countries for the year 2000, with countries listed on the y-axis and a formatted horizontal population scale. Built with React and SVG, it uses D3's `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. The `Marks` component renders each bar with a tooltip, while `AxisBottom` and `AxisLeft` generate the tick marks and labels. Population data is loaded from a remote CSV file.

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