Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter/Line Plot with Menus

Public visualization

Fork of Scatter/Line Plot with Menus

1 star0🌍 Public
NNarayana Reddy
Last edited Mar 21, 2021
Created on Mar 21, 2021

This visualization combines a scatter plot with a line chart, showing depth and temperature data from a borehole dataset over time. Users can select which variable to display on the y-axis (Depth or Temp) through dropdown menus built with a custom `dropdownMenu` function. The chart is rendered using D3 v5 with SVG elements, featuring animated circles that transition and expand into place, along with a line path connecting data points. Axes, labels, and gridlines are generated using `d3.axisLeft` and `d3.axisBottom`, with dates formatted via `d3.timeParse` and `d3.timeFormat`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed