Makeing a scatter plot with D3.js!
✓ Published1🌍 Public
This example uses D3.js v5 to render a scatter plot of Israel’s population by religious group from 2016 estimates in the data.gov.il dataset. The visualization maps each religion on a point scale for the y-axis and population counts on a linear scale for the x-axis, with circles styled via SVG. The code calls `d3.csv`, `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` to build the chart, while including grid lines and axis labels. Data is loaded from an external CSV file, and the plot is rendered using SVG elements.
AI-generated descriptionThis scatter plot shows religions population count in Isreal from year 2016 estimate in data.gov.il data sets.
MIT Licensed