Skip to main content
100%

GiRiBnW_Ep10-resuable_chart

✓ Published1🌍 Public
JJimMaltby
Last edited Jan 12, 2022
Created on Jan 11, 2022

This example reproduces a Sol LeWitt art piece using a reusable D3.js scatter plot module built with d3.v6. It renders an SVG chart with animated circles positioned by linear scales based on x and y value extractors, with axes drawn via d3.axisBottom and d3.axisLeft. The code defines a custom `d3.reusable.scatterPlot` function that manages chart building, updating, and drawing, applying a join pattern for circles and axes to support dynamic updates. The visualization updates the graph by recomputing data mappings and re-rendering circles and the x-axis.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes