Skip to main content
100%

Santhosh Dachepally

✓ Published0🌍 Public
Ssanthoshdachepally333@gmail.com
Last edited Mar 24, 2025
Created on Mar 24, 2025

This horizontal bar chart displays the top ten countries by sales from a CSV dataset loaded via D3’s `csv` function. The React app renders an SVG with D3’s `scaleBand` for country categories and `scaleLinear` for sales values, drawing green rectangles for each bar. Tick marks and labels are generated using D3’s scale methods, with the chart centered in the viewport. The code uses React hooks (`useState`, `useEffect`) to fetch and process the data, and ReactDOM to mount the visualization.

AI-generated description
MIT Licensed

Similar vizzes