Bar Chart
✓ Published0🌍 Public
This bar chart displays the elevation of notable mountain peaks in feet, sorted along the y-axis with horizontal bars extending from left to right. The visualization uses React components alongside D3 v5 APIs including `scaleBand`, `scaleLinear`, and `format` to render the SVG marks and axes. Data is loaded asynchronously via a CSV file from a GitHub gist, and tooltips show formatted elevation values when hovering over each bar. The chart includes styled gridlines, axis labels, and a descriptive title.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed