Skip to main content
100%

Sol Lewitt - D3 1 shape

✓ Published1🌍 Public
Hhquazza@gmail.com
Last edited Feb 21, 2025
Created on Dec 17, 2024
Forked from Sol Lewitt - D3

This example reproduces a family tree as an interactive force-directed graph, loading data from a CSV and arranging nodes with `d3.forceSimulation`, `d3.forceLink`, and `d3.forceManyBody`. Draggable circles represent individuals, with lines showing parent–child links; hovering reveals a tooltip via D3's `title` element. The code builds a hierarchy from flat CSV rows and uses D3 v7's `d3.csv` and `d3.hierarchy` to structure the data before simulation.

AI-generated description

Trying to reproduce Sol Lewitt art in D3.

To know which version is the latest D3, go to Unpkg.com - when produced, latest version was D3.7.9

package.json --> used to pull in D3.js latest version

MIT Licensed

Similar vizzes