Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity_6_Task2_Tutorial

Public visualization

Activity_6_Task2_Tutorial

0 stars1๐ŸŒ Public
Pparvathi829790@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

A stacked horizontal bar chart displays IMDb rating distributions across six movie genres, with five rating bands from below 5.0 to above 8.5. The chart uses d3.stack and d3.scaleBand to layer percentage values, with d3.scaleOrdinal assigning five colors to rating categories. Interactive tooltips reveal exact percentages on mouseover, while d3.axisBottom and d3.axisLeft render labeled axes. Data comes from a CSV file parsed directly, with all elements drawn as SVG rectangles.

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