Fork of Simple Scatter Plot
✓ Published0🌍 Public
This example shows a static bar chart of a fruits dataset, displaying categorical values along the x-axis and numeric magnitudes on the y-axis. It loads a remote CSV file using `d3.csv` and renders the visualization as an SVG on the page. The code employs `d3.scaleBand` for the categorical axis, `d3.scaleLinear` for the value axis, and `d3.axisBottom` and `d3.axisLeft` to draw the axes. The chart explicitly constructs bars with SVG `rect` elements, while the data originates from a GitHub-hosted CSV file.
AI-generated descriptionA simple scatter plot with D3 showing the Penguins Dataset.
Challenge
- Fork this viz
- Modify it to show your data
ISC Licensed