1.0.0 • Published 7 months ago

@carrotsearch/dotatlas v1.0.0

Weekly downloads
66
License
SEE LICENSE IN LI...
Repository
-
Last release
7 months ago

dotAtlas

dotAtlas is a map-like visualization of 2d points for browser.

demo

To add dotAtlas dependency to your project:

npm install @carrotsearch/dotatlas

The simplest React component showing a dotAtlas visualization:

import React, { useEffect, useRef } from "react";
import { DotAtlas as DotAtlasImpl } from "@carrotsearch/dotatlas";

export const DotAtlas = () => {
  const element = useRef(null);
  useEffect(() => {
    const points = [
      { x: 0, y: 0, elevation: 1.0, label: "Central peak" },
      { x: -1, y: 0, elevation: 0.6, label: "West peak" },
      { x: 1, y: 0, elevation: 0.6, label: "East peak" },
      { x: 0, y: -1, elevation: 0.4, label: "North peak" },
      { x: 0, y: 1, elevation: 0.4, label: "South peak" }
    ];

    const dotatlas = DotAtlasImpl.embed({
      element: element.current,
      layers: [
        { points: points, type: "elevation" },
        { points: points, type: "marker" },
        { points: points, type: "label" }
      ]
    });

    return () => dotatlas.dispose();
  }, []);

  return <div ref={element} style={{ width: 400, height: 300 }} />;
};

For more information, see:


Notable features:

  • Customizable colors, sizes, shapes, opacities, elevations and textual labels for all the points.

  • Independent control of the elevations, markers, outline and label layers.

  • Built-in finding of clusters of nearby points for easy multi-point hover and selection.

  • WebGL-based implementation for 60 FPS interaction animations, also with large data sets.


This package contains a free-of-charge branded version of dotAtlas. For licensing of a branding-free version, contact Carrot Search.


1.0.0

7 months ago

1.0.0-rc1

8 months ago

1.0.0-rc2

7 months ago

1.0.0-rc3

7 months ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2-dev01

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.1-alpha3

5 years ago

0.3.1-alpha2

5 years ago

0.3.1-alpha1

5 years ago

0.3.0

5 years ago

0.3.0-alpha9

5 years ago

0.3.0-alpha8

6 years ago

0.3.0-alpha7

6 years ago

0.3.0-alpha6

6 years ago

0.3.0-alpha5

6 years ago

0.3.0-alpha4

6 years ago

0.3.0-alpha3

6 years ago

0.3.0-alpha2

6 years ago

0.3.0-alpha1

6 years ago