Skip to main content
Public

Share visualization

Loading preview…

Fork of Sol LeWitt Reproduction with D3

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

Fork of Sol LeWitt Reproduction with D3

0
Mmavercikalvin
Last edited Feb 8, 2023
Created on Feb 8, 2023

This gallery example reproduces a Sol LeWitt-inspired piece using D3.js, displaying a sequence of German state abbreviations as bold, colored text and a horizontal row of red rectangles whose widths and positions are driven by numeric data. The visualization builds its SVG canvas and HTML elements entirely through the `d3.select` API, using methods like `.append`, `.enter()`, and `.attr()` to assign styling and layout. The code pairs explicit data arrays for both the text labels and rectangle dimensions, with conditional color logic applied to the text elements.

AI-generated description

A reproduction of a Sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed