Area (2D) Size example with tilt
This example compares two types of 2D area markers—rotated squares and circles—to show how area encodes ordered attributes. The squares increase their side lengths linearly, while the circles use progressively larger radii with varying opacity to represent data. The visualization is built with D3 v4 and rendered as SVG, using `d3.scaleLinear` for both x and y positioning, with the data defined as an array of shape-specific objects. The code filters this data by shape to create separate groups of rectangles and circles, applying distinct transformations and fill colors.
AI-generated descriptionBuilt with blockbuilder.org
This example examines the 2D size channel for ordered attributes (page 102 Munzner). For the most part, this example was built from scratch.
forked from <a href='http://bl.ocks.org/RobertDelgado/'>RobertDelgado</a>'s block: <a href='http://bl.ocks.org/RobertDelgado/872c67cd84af7cd54a7275b486f4e184'>Area (2D) Size example</a>