Skip to main content
Public

Share visualization

Loading preview…

HW Re-create Marks & Channels Graphic

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

HW Re-create Marks & Channels Graphic

0
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.

Comments

Sign in to join the discussion.

MIT Licensed