Skip to main content
Public

Share visualization

Loading preview…

Full Sol LeWitt in d3 v2

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

Full Sol LeWitt in d3 v2

1
TTobi Olabode
Last edited Nov 7, 2023
Created on Nov 6, 2023

This example recreates a Sol LeWitt drawing as a grid of thin horizontal and vertical lines, with two circular masks revealing different layered compositions. The code builds an SVG scene using D3 v5’s `select`, `range`, and `join` to generate the lines, and `symbol` with `symbols[5]` to create the triangle-shaped masks. It demonstrates importing from D3 via UNPKG and local ES6 modules, rendering entirely through SVG attributes and mask definitions.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Test Heading

Comments

Sign in to join the discussion.

MIT Licensed