Skip to main content
100%

汽车 散点图

✓ Published1🌍 Public
Lluojiandan
Last edited Apr 18, 2020
Created on Apr 18, 2020
Forked from 散点图

This scatter plot visualizes the relationship between horsepower and acceleration for a dataset of cars, with each circle representing a vehicle. The chart uses D3 v5’s scaleLinear with a nice() function for both axes, and circles are rendered in SVG with adjustable opacity to show data density. Data is loaded from a CSV file via d3.csv, and axes include gridlines and labels for clarity.

AI-generated description

汽车散点图,与柱状图类似,只不过把柱子换成圆圈

scaleBand函数换为scalePoint

比例尺使用nice()函数(X轴,scaleLinear)


散点图可以用于表示 项目经理连续在项目部签到的情况。

数据来源 [https://vizhub.com/curran/datasets/auto-mpg.csv]

MIT Licensed

Similar vizzes