Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q1 -Dinesh D3.js!

Public visualization

Viewing a saved revision (read-only)

9979658761bd476d93ee6720c021d746

Q1 -Dinesh D3.js!

0 stars0🌍 Public
Ddineshsingiri18@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025

This scatter plot visualizes the relationship between alcohol content and wine quality, with each point's color encoding the wine's citric acid level using a turbo color scale. The visualization displays the data from the included `wine_quality.csv` file, rendering as an SVG. The code constructs a reusable chart function using D3.js v7, leveraging `d3.scaleLinear`, `d3.extent`, `d3.axisBottom`, and `d3.axisLeft` to build the axes and scales. The color mapping employs `d3.scaleSequential` with `d3.interpolateTurbo`.

AI-generated description