D3 Scatter Plot of Flavors Of Cocoa showing CocaoPercent (X) vs. Rating (Y)
✓ Published0🌍 Public
TT-Reiser
Last edited Sep 15, 2021
Created on Sep 15, 2021
A D3 scatter plot visualizes the relationship between cocoa percentage and flavor rating for chocolate bars, with each circle representing a sample. The x-axis maps the cocoa percentage while the y-axis shows the ratings, revealing potential correlations. Built with d3.v6, the code uses d3.csv for data loading, d3.scaleLinear for both axes, d3.extent for domain calculation, and d3.axisLeft/axisBottom for rendering. Data comes from the FlavorsOfCacao.csv dataset, rendered as SVG circles sized with a fixed radius of five pixels.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Top Video Games Sales.
MIT Licensed