Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

chart

Public visualization

Viewing a saved revision (read-only)

2c47111a37e847f4af89dd93375ae4ee

chart

0 stars0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 25, 2024
Created on Apr 25, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.