Skip to main content
100%

Fork of 1116 of HW3 Loading and Parsing CSV Data

✓ Published2🌍 Public
RRegrg
Last edited Nov 16, 2022
Created on Nov 16, 2022

This example displays a scatter plot of Spotify track data, separating songs into two groups based on whether their popularity score exceeds 33, with energy values plotted on both axes. It loads a CSV file from a GitHub Gist using Plotly.js's `Plotly.d3.csv` method, then processes the rows in JavaScript to filter and extract the energy values. The visualization renders the two series as separate traces in a single `Plotly.newPlot` chart, titled "Plotting CSV data from AJAX call," demonstrating CSV parsing and conditional data filtering within a React framework.

AI-generated description
MIT Licensed

Similar vizzes