Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Second Valence Arousal

Public visualization

Second Valence Arousal

0 stars0🌍 Public
HHariprashanth75
Last edited Jul 14, 2021
Created on Jul 9, 2021

This example plots time-series measurements of arousal and valence from an EEG dataset (channel F4) as an animated, interactive line chart. The visualization displays one of three data segments at a time, with buttons to switch between arousal and valence signals, or to cycle through the segments. The chart uses a gradient stroke from blue to red to encode the signal amplitude, while individual samples appear as small yellow dot markers on click. The code uses the D3.js library, specifically `d3.csv` for data loading, `d3.scale.linear` for axes, and `d3.svg.line` for the path geometry.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed