Scatterplot Chocolate Data
✓ Published0🌍 Public
This scatterplot visualizes chocolate data, plotting the count of ingredients against cocoa percentage. Each brown, semi-transparent circle represents a chocolate bar, with its position determined by these two variables. The visualization is built using D3 version 6, leveraging functions like `csv` for data loading, `scaleLinear` for scaling axes, and `axisLeft` and `axisBottom` for generating the axes. The plot renders as an SVG, sized to fill the browser window, and uses data from a raw CSV file hosted on GitHub.
AI-generated descriptionScatter plot counts_of_ingredients vs cocoa_percent for chocolate data.
Data from: https://gist.github.com/LeahMitchell/4afa22e37643ac62df2fe24b0267ebab
MIT Licensed