Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Circles with D3

Public visualization

Fork of Circles with D3

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed