Skip to main content
100%

project task1

✓ Published0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Hello VizHub

A bar chart displays the number of e-commerce healthcare orders for each state, sorted in descending order to highlight the states with the highest order counts. The visualization uses D3 v6 to load a CSV dataset from a GitHub gist, roll up the records by state, and render an SVG with an X and Y axis. Data processing relies on `d3.rollups`, `d3.descending`, and scaling via `d3.scaleBand` and `d3.scaleLinear`, while the bars are created with `d3.selectAll(...).join("rect")`. State labels are rotated for readability on the axis.

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.
MIT Licensed

Similar vizzes