Skip to main content
100%

Eri Kim - Marks and Channels

✓ Published1🌍 Public
EEri Kim
Last edited Feb 11, 2023
Created on Feb 6, 2023
Forked from Marks and Channels

This stacked bar chart shows the number of artworks created per year from 2015 to 2020, with each colored segment representing a different medium (Graphite, Poster, Lithograph, or Paint) and its height corresponding to the count. Built with d3.v7, it uses `d3.scaleBand` for the x-axis years and `d3.scaleLinear` for the y-axis totals, while `d3.stack()` keys the data categories and `d3.schemeCategory10` assigns colors to each medium. The chart renders rectangles via `d3.select` joins in a static, non-interactive SVG.

AI-generated description

Pseudo-Visualization: Stacked bar chart

Using data { year: '2015', total: 1000, Poster: 300, Lithograph: 200, Graphite: 400, Paint: 100, }, this pseudo-visualization shows the number of artworks by year, and each color represents the medium used.

Reference: https://observablehq.com/@thetylerwolf/day-9-stacked-bar-chart

MIT Licensed

Similar vizzes