π Public
Bargraph
This bar chart visualizes employee salary against years of experience using React and D3 v5. The code fetches salary data from a CSV file via `d3.csv`, samples the first 15 records, and renders an SVG with `scaleBand` for the categorical y-axis and `scaleLinear` for the salary x-axis. Gridlines, axis ticks, and rectangles for bars are drawn directly in the SVG, produced by React components.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed





![Bar chart[salary analysis]](/viz/e14b0014c80b46e6974e0222cd8eaf36/social-image.png?v=8192e67c1e654169b347212a9f161bb6)


Comments
Sign in to join the discussion.