Scatter Plot with D3.js!
✓ Published1🌍 Public
This example shows a scatter plot of population data for five countries, with country names on the y-axis and population on the x-axis. It uses D3 v6 with the `select`, `csv`, `scaleLinear`, `scalePoint`, `axisLeft`, `axisBottom`, and `format` APIs to load data from a CSV file and render SVG circles. The chart includes custom tick formatting that converts abbreviations like “G” to “B” and displays gridlines generated by `tickSize`.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed