Assignment2_Q4
This bubble chart visualizes cereal manufacturers’ products by plotting sodium levels on the x-axis against cereal ratings on the y-axis, with circle radius encoding calorie content and color distinguishing manufacturers (A, G, K, N, P, Q, R). The visualization uses D3 v7 with SVG rendering to create the scatterplot, axes, and legends. The code employs d3.scaleLinear for positioning and sizing, d3.scaleOrdinal with d3.schemeSet1 for categorical colors, and d3.axisBottom and d3.axisLeft for axes. Data comes from the included data.csv file, and both bubble size and color legends are rendered directly in the SVG.