Cylinders relation to Horsepower
✓ Published1🌍 Public
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 descriptionMIT Licensed