Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

activity8-task2

Public visualization

activity8-task2

0 stars0๐ŸŒ Public
Bbobbymeyermsis@gmail.com
Last edited Apr 17, 2024
Created on Apr 15, 2024
Forked from task-2

A stacked bar chart displays cereal ratings by ingredient percentage, with each bar segmented into sugars, vitamins, and rating contributions. The chart uses D3 v7's `stack`, `scaleLinear`, `scaleBand`, and `axisBottom` APIs to construct the SVG visualization. Hover interactions reveal precise percentages via a tooltip. The categorical data comes from a CSV file listing cereal names and their nutritional values.

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