Skip to main content
Public

Share visualization

Loading preview…

Predator-Prey Dynamics with 3D Fox and Rabbit Models

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Viewing a saved revision (read-only)

hE58F8IuTLp9zNy3sq6Lp

Predator-Prey Dynamics with 3D Fox and Rabbit Models

0 stars0Public
CCurran Kelleher
Last edited Nov 15, 2026
Created on Nov 15, 2026
Forked from React D3 Starter

This example shows a React and D3 interactive scatter plot of five clickable circles loaded from a local CSV file. Clicking a circle highlights it by changing its fill to white and adding a black stroke, using React state to track the selected circle’s ID. The visualization rescales circle positions with `d3.scaleLinear` based on container dimensions tracked by a `ResizeObserver` hook. Rendering is handled imperatively through `d3.select`, `selection.join`, and event listeners, while React manages data loading and state updates.

Rainbow Random Walk — 3D

Five luminous, colorful spheres drift through a softly lit three-dimensional space. A translucent Voronoi mosaic follows them, while collisions, wall rebounds, and gentle pulsing keep the scene in motion.

Features

  • Animated 3D spheres with colorful, glossy materials
  • Moving Voronoi cells projected onto a translucent horizontal plane
  • Soft collisions and rebounds inside the scene bounds
  • Click a sphere to select it
  • Drag to orbit; scroll to zoom
  • Responsive, full-window canvas

Usage

Open index.html in a browser. The animation starts automatically. Drag to orbit the scene and use the mouse wheel to zoom.

References