Skip to main content
100%

Fork of Circles with D3

✓ Published0🌍 Public
BBrian Hulbert
Last edited Sep 11, 2025
Created on Aug 27, 2025
Forked from Circles with D3

This example plots polynomial functions as a series of red circles. The visualization calculates y-values for a given set of polynomial constants across a range from -10 to 10, then scales the resulting points to fit the screen dimensions. Using D3 v7’s `select` API and the `.join()` operation for efficient SVG element creation, each circle is positioned and rendered with a fixed radius and 70% opacity. By modifying the `polynomial_constants` array or the `range_min`/`range_max` values in the code, different curves can be displayed.

AI-generated description

Plot various polynomials by changing/adding the constants

MIT Licensed

Similar vizzes