chart
✓ Published0🌍 Public
This bar chart visualizes order totals by state, with data loaded from a CSV file. It sorts the states descending by total value and displays each state's total directly above its bar. Built with D3 v7, the visualization uses `d3.scaleBand` for the categorical x-axis, `d3.scaleLinear` for the continuous y-axis, and `d3.axisBottom` and `d3.axisLeft` for the tick marks. The chart labels the axes "State" and "Total" and includes a 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