Skip to main content
100%

CSCE5320 Project

✓ Published0🌍 Public
Rrajkodavati7@gmail.com
Last edited Apr 27, 2024
Created on Apr 26, 2024
Forked from Hello VizHub

This example renders a horizontal bar chart that visualizes complaint counts by complaint type, sourced from a CSV file hosted on a GitHub Gist. Using D3.js v7, it loads the data with `d3.csv`, aggregates it via `d3.rollup` and `d3.sum`, and renders the bars as SVG rectangles with a linear x-scale and a band y-scale. Interactive hover effects change bar colors, and axes are added with `d3.axisBottom` and `d3.axisLeft`.

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