🌍 Public
Viewing a saved revision (read-only)
d7fb4ca3152645f7acca9fa71a065f7b
Activity8_Question-3
A scatter plot displays the distribution of movie genres across five rating ranges. Drawn with SVG rectangles, the chart maps genres on the x-axis and the proportional share of ratings on the y-axis, highlighting the third rating range (6.5–7.5) in green. The visualization uses d3.scaleBand, d3.scaleLinear, and d3.axisLeft/axisBottom to construct axes and bars, with data embedded directly in the script. The simple example shows how D3.js v6 can render categorical data as a bar-like scatter plot.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.