Recreate Marks with ellipse
This example recreates a small graphic from Chapter 5 of *Visualization Analysis & Design* using D3.js v4, rendering six distinct marks—four ellipses and two circles—in light blue on an SVG canvas. The visualization highlights how different mark shapes encode data points, with varied radii and positions suggesting categorical or quantitative distinctions. The code uses static SVG `<ellipse>` and `<circle>` elements directly in the HTML, with no data binding or interactive behavior. It demonstrates a simple, hard-coded approach to reproducing a published chart, relying on D3’s minimal role for element creation and styling. The rendering is purely SVG-based, with no axes or scales, focusing solely on mark geometry.
AI-generated descriptionThis plot is to re-create one of the small graphics from Chapter 5 of Vasualization Analysis & Design using D3.js.
Built with blockbuilder.org