Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

fish

Public visualization

Viewing a saved revision (read-only)

675c0f8cc8a44acfaf29b95651e4681e

fish

0 stars0🌍 Public
Nnagasai.mandalapu@gmail.com
Last edited Feb 28, 2024
Created on Feb 28, 2024
Forked from People Dancing

A single orange ellipse represents a fish swimming repeatedly across an 800-by-600 SVG viewport on a light blue background, looping infinitely with a linear ease and a fixed eye dot that moves in sync. The animation uses d3.v7’s `selection.transition()` and `selection.attr()` to update the horizontal `cx` coordinates over an 8-second duration, resetting to the off-screen start via the `on("end")` callback. The shapes are drawn directly with SVG `ellipse` and `circle` elements, with no external data source.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.