Scatter Plot
✓ Published1🌍 Public
A scatter plot displays the population of the top 10 most populous countries as circles along a linear x-axis and a point-scale y-axis. Using D3.js v5, the code loads data from a CSV, applies a scaleLinear for population and scalePoint for country names, and renders axes with tick formatting using the format function. Circles are appended via a data join, with a custom title and axis labels, while tick lines and domain elements are removed for a cleaner appearance.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed