Skip to main content
100%

Fork of Episode 4: Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
Uulrich.zhan@harmonie-mutuelle.fr
Last edited Feb 13, 2024
Created on Feb 13, 2024

This sunburst diagram reproduces a Sol LeWitt-inspired geometric composition, using D3’s hierarchical partition layout to divide a circle into colored arcs based on nested data values. The code explicitly uses `d3.hierarchy`, `d3.partition`, and `d3.arc` to compute and render the SVG paths, with an ordinal color scale mapping interpolated rainbow hues to each branch. Data is a static flare hierarchy with two children, rendered with a user-selectable radius and optional padding. The visualization showcases how algorithmic drawing can emulate minimalist art, highlighting the direct mapping between data structure and visual form.

AI-generated description

Trying to reproduce a Sol LeWitt art piece using D3. Inspired by the original piece here.

MIT Licensed

Similar vizzes