🌍 Public
Viewing a saved revision (read-only)
b4e531c17cfb40ea91c0c60361561444
Cylinders relation to Horsepower
This example displays the relationship between engine cylinders and horsepower as a scatter plot, with horsepower on the x-axis and cylinder count on the y-axis. Each data point represents a car from a CSV file loaded via p5.js’s `loadTable` function, sourced from a gist by karldif01. The visualization is rendered using Plotly’s JavaScript API, specifically `Plotly.newPlot`, within a p5.js sketch, with axes labeled "Power (hp)" and "Cylinders" and a title "Cylinders vs Horsepower."
AI-generated description