Bar Chart
✓ Published0🌍 Public
This bar chart displays the elevations of 20 mountain peaks, using horizontal bars to compare their heights. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. The SVG rendering includes custom axis components and rectangular marks with tooltips, fed by data loaded from a CSV file via the `useData` hook. The chart labels the axes with a custom format that abbreviates large numbers, and the data is sourced from a gist published by the author.
AI-generated descriptionBar Chart using D3.js
MIT Licensed