uberplot
This interactive scatterplot visualizes diamond characteristics, with circles positioned by x and y coordinates and colored by categorical color grade. Using the d3.js library, the visualization supports animated transitions when hovering over or clicking data points, temporarily highlighting circles and then reverting them to their original colors. Built with the uberplot helper library, the code defines layers, scales, and mark sets to map data dimensions to visual properties, and uses d3.scaleLinear, d3.scaleOrdinal, and d3.scaleQuantize for encoding.