Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

rtb scatter

Public visualization

rtb scatter

0 stars1🌍 Public
Ookahne@gmail.com
Last edited May 4, 2024
Created on May 4, 2024

This interactive scatterplot visualizes daily river temperature and turbidity data from 2015, plotting each day as a circle with position encoding both variables. Hovering a point highlights it in red and displays its exact values in a tooltip. The visualization uses D3 v5 with SVG rendering, employing `scaleLinear` for both axes, `axisBottom` and `axisLeft` for tick marks, and `.on('mouseover')` events to trigger the highlighting and tooltip updates.

AI-generated description

ToDo

  • make the .on functions select by id
  • make the tooltip adjust

might be worth starting from scratch using Ben's template so I know that things should work. Also, do imports come from the og fork?

Comments

Sign in to join the discussion.

MIT Licensed