Skip to main content
100%

Linear Regression ParT 2

✓ Published0🌍 Public
HHariprashanth75
Last edited Apr 11, 2021
Created on Apr 9, 2021
Forked from Hello VizHub

This example uses D3.js to plot EEG data from a CSV file, comparing the F3 and F4 channels. It renders scatter plot dots colored by manufacturer, along with a red regression line calculated using the least squares method to show the relationship. A tooltip appears when hovering over the line, displaying computed values at the mouse position. Axes, axes labels, and a legend are built with d3.svg.axis.

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.
MIT Licensed

Similar vizzes