Skip to main content
100%

散点图

✓ Published1🌍 Public
Lluojiandan
Last edited Apr 18, 2020
Created on Apr 18, 2020
Forked from 自定义坐标轴

This scatter plot displays the population of six global regions in 2019, using circles positioned along a point scale for regions and a linear scale for population values. The chart includes labeled axes, gridlines, and a title, with data loaded from a CSV file using d3.csv. The code employs d3.scalePoint, d3.scaleLinear, d3.axisLeft, d3.axisBottom, and d3.format to render the visualization as SVG, applying a nice() function to the population scale for cleaner tick values.

AI-generated description

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

scaleBand函数换为scalePoint

比例尺使用nice()函数


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

MIT Licensed

Similar vizzes