Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

csce 5320assignment 2 question 2

Public visualization

csce 5320assignment 2 question 2

0 stars0🌍 Public
Ssriharshakondakindi@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from sekhar question 2

This example visualizes the proportion of ratings across multiple genres as a layered area chart. It loads CSV data from a GitHub repository using `d3.csv`, then constructs the chart with D3 v6’s `d3.area`, `d3.scaleBand`, `d3.scaleLinear`, and axis generators, rendering to SVG. A legend maps each series to a color from `d3.schemeCategory10`. The chart includes axis labels and a fixed layout with a right-side margin for the legend.

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.

Comments

Sign in to join the discussion.

MIT Licensed