Marimekko Chart
✓ Published0🌍 Public
Aaaizemberg
Last edited Nov 1, 2018
Created on Oct 28, 2018
A Marimekko chart displays categorical data as a grid of rectangles where column widths represent the share of one category (cat2) and row heights within each column represent the share of a subcategory (cat1). The visualization uses D3 v3 with SVG rendering, nesting the JSON data by cat2 and computing proportional offsets to position rectangles. A linear scale maps cumulative sums to the x-axis and category proportions to the y-axis, while a category10 color scale differentiates cat1 groups. The chart includes percentage tick marks on both axes and tooltips showing raw values.
AI-generated description