Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cylinders relation to Horsepower

Public visualization

Cylinders relation to Horsepower

0 stars1🌍 Public
Kkfhujosefsson@dons.usfca.edu
Last edited Feb 3, 2025
Created on Feb 3, 2025

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

Comments

Sign in to join the discussion.

MIT Licensed