Skip to main content
100%

A2Q4

✓ Published0🌍 Public
MmNamratha25
Last edited Jul 20, 2023
Created on Jul 20, 2023

This scatterplot shows the correlation between the average price of a boba drink and the cost of living index for 35 U.S. cities. Interactive tooltips display each city’s name, drink price, and cost index when hovering over a point. The visualization is built with D3 v7 using an SVG canvas, and leverages `d3.scaleLinear` for the axes, `d3.axisLeft` and `d3.axisBottom` for the scales, and `d3.csv` to load the data. Axis labels and a title are drawn with SVG text elements.

AI-generated description
MIT Licensed

Similar vizzes