Best Data Viz
Relationship

2D Contour Plot

Contour lines showing density of points in 2D space, like a topographic map.

Weather Density

Temperature vs humidity clusters

View data (30 rows)
Chart data table: Weather Density
TemperatureHumidity
2265
2470
2368
2572
2160
2367
2469
2266
2571
2364
2268
2467
2370
2568
2263
2880
3084
2982
2878
3086
2981
2883
3080
2984
2779
3185
2881
2979
3082
2781
Make a 2d contour plot with your data

Use a 2d contour plot when…

  • Very dense data
  • Showing density peaks and valleys
  • Statistical density estimation

Avoid when…

  • Sparse data
  • Categorical variables

Data it needs

PropertyValue
Min Rows20
Min Columns2
Column Types
numbernumber

Visual anatomy

Marks
contour linefilled area
Channels
positioncolor-luminance
Axes
x-quantitativey-quantitative

Guiding principles

Consider instead

Common mistakes

  • Too few contour levels

  • Using rainbow colormap

History

Roots in 19th-century topographic mapping (and Galton's bivariate density work, 1886); adapted to statistical density estimation through the 20th century.

Accessibility notes

Describe density peaks location and magnitude. Provide summary statistics.

Related reading

Got data? Let's see what works.

Drop your CSV. You'll get a 2D Contour Plot plus four alternatives - ranked by which one actually fits your data best.