HW Re-create Marks & Channels Graphic
✓ Published0🌍 Public
This visualization recreates four basic symbol marks—cross, circle, square, and triangle—arranged horizontally across the center of an SVG canvas. The marks are generated using d3.symbol with a fixed size of 1000, while a d3.scaleLinear maps the array index to x-coordinates spaced 200 pixels apart. Each symbol is rendered as a purple-filled SVG path element, selected and bound to data via d3.select and data joins. The code uses d3 v5 and relies on importing select, scaleLinear, and symbol from the d3 module.
AI-generated descriptionRecreate 4 shapes using d3.symbol.
MIT Licensed