Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Plotly 2

Public visualization

Viewing a saved revision (read-only)

b1db7deb5f2d4e26970b6babda83f877

Plotly 2

0 stars0🌍 Public
KKhanAzmat
Last edited Dec 22, 2022
Created on Dec 21, 2022
Forked from Plotly

This example shows a heatmap visualization of distances from a central point, computed from two arrays of numeric coordinates. The heatmap uses a Portland color scale and smooths the data with the `zsmooth: 'best'` option, rendering through Plotly’s `newPlot` API. The code constructs a matrix by calculating the Euclidean distance for each pair of x and y values, then passes it to Plotly’s heatmap trace. D3.js is loaded for potential utility, though the core rendering relies entirely on Plotly 2.16.1.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.