Skip to main content

Density Scatter Plot

Examples

Density Scatter Plot Example

Context

A Density Scatter Plot is a visualization that represents the density of data points in a two-dimensional space. It is useful for identifying clusters, patterns, and relationships between two numerical variables. The density is typically visualized using contours or color gradients.

Inputs

  • X-axis (numerical variable)
  • Y-axis (numerical variable)
  • Category Column (categorical variable, optional for grouping)

Settings

  • Chart Name (customizable title)
  • Chart Legend (define or modify legend text)
  • Point Opacity (adjust transparency of individual data points)
  • Point Size (set size of data points for better visualization)

Axis Controls

  • X-axis & Y-axis Selection (choose numerical variables for both axes)
  • Rotate Y-axis Labels (toggle label orientation for readability)
  • Y-axis Text Size (adjustable via slider)
  • Y-axis Width (modify axis width for layout optimization)
  • Rotate X-axis Labels (toggle orientation for better fit)
  • X-axis Text Size (adjustable via slider)
  • X-axis Height (modify spacing to accommodate longer labels)

Color Settings

  • Color By (choose a variable for color encoding)
  • Show Color Legend (enable/disable color legend)
  • SymLog Color Scale (apply logarithmic scaling for better contrast)
  • Trim Color Scale to Percentile (adjust percentile range for color mapping)
  • Treat Zero as Missing (exclude zero values from visualization)

Tooltip & Interaction

  • Show Tooltip (enable or disable tooltip display)
  • Tooltip Value (choose which information appears in the tooltip)
  • Centre Plot (reset and centre the visualization)

Filtering & Display

  • Action on Filter

    • Hide Points (remove filtered-out points)
    • Gray Out Points (retain but dim non-selected points)
  • Background Color

    • None (default)
    • White, Light Gray, Gray, Black (set the background color)
  • Brush Type (Selection method for data)

    • Free Draw (Allows drawing custom selection areas)
    • Rectangle (Selects a rectangular area of data)

Contour Settings

  • Contour Parameter (choose a variable for contour generation)
  • Contour Categories (up to two categories for subgroup contours)
  • KDE Bandwidth (adjust bandwidth for kernel density estimation)
  • Fill Contours (toggle whether to fill density contours)
  • Fill Intensity (control intensity of the filled contours)
  • Contour Opacity (adjust transparency of contour lines)