Skip to main content
100%

Fork of Scatterplot Visualization

✓ Published0🌍 Public
MMalempatiSaranya
Last edited Jul 2, 2022
Created on Jul 2, 2022

This scatterplot shows the relationship between the average price of boba tea and the cost of living index across 34 U.S. cities. Each purple circle represents a city, with hover interactions revealing a yellow tooltip displaying the city name, price, and index. The visualization uses D3.js v7 with SVG rendering and animations triggered through mouse events. The data is loaded from a CSV file, and the chart includes axis labels, a title, and blue-colored axis annotations. The code specifically employs `d3.scaleLinear`, `d3.axisLeft`, `d3.axisBottom`, and `d3.csv` to construct the plot.

AI-generated description
MIT Licensed

Similar vizzes