Skip to main content
100%

Heatmap of mtcars dataset

✓ Published0🌍 Public
JJverma
Last edited Jul 5, 2015
Created on Jul 4, 2015

This heatmap visualizes the classic mtcars dataset, showing the relationship between car models and their attributes such as mpg, horsepower, and weight. Each cell is color-coded using d3.scale.category10 based on the raw value from the CSV data, with a tooltip revealing the specific car, property, and value on mouseover. The chart is built with D3 v3, using SVG rectangles positioned via a grid, and includes a brief animation for tooltip opacity transitions. The x-axis represents cars, the y-axis represents properties, and the legend is intended to display a color scale, though the color scale is not fully implemented.

AI-generated description

This is a naive attempt to create a heatmap of mtcars data. I wa strying to reproduce R package d3Heatmap

Similar vizzes