{"version":"1.0","type":"rich","title":"1117 of HW3 Loading and Parsing CSV Data","description":"This example visualizes the distribution of energy levels in Spotify tracks, split into two groups based on popularity. It loads a CSV file using Plotly’s `d3.csv` method and processes the data to compute histograms. The code calculates quantiles with `d3.quantile` and bins the `energy` values into categories. Using Plotly’s `newPlot`, it renders bar and line charts for both groups: tracks with popularity above 33 and those below, showing the percentage of tracks in each energy range. The data source is a CSV of Spotify tracks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f2aa3ac4099f4440a787cbf692e2285a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}