Data Visualization - Assignment 1
✓ Published1🌍 Public
This example uses a 10×10 heatmap grid to visualize the density of 150,000 randomly generated points, with each cell colored on a gradient from white to royal blue based on point count. The visualization is rendered as SVG using D3.js v4, employing `d3.interpolateRgb` for color scaling and D3’s data-join to bind grid cells to rectangles. Points are binned into rows and columns via JavaScript math, and the minimum and maximum densities normalize the color scale. Axes are added with `d3.axisBottom` and `d3.axisLeft`.
AI-generated descriptionMSBD5005 Assignment 1
MIT Licensed