Skip to main content
100%

HW Re-create Marks & Channels Graphic

✓ Published0🌍 Public
YYF
Last edited Oct 30, 2018
Created on Sep 11, 2018
Forked from HTML Cars Report

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 description

Recreate 4 shapes using d3.symbol.

MIT Licensed

Similar vizzes