4.1.7 • Published 7 months ago

@msrvida/sanddance-explorer v4.1.7

Weekly downloads
409
License
MIT
Repository
github
Last release
7 months ago

@msrvida/sanddance-explorer

Visually explore, understand, and present your data.

image

Demo - API Reference

Installation

Add these to the dependencies section of your package.json, then run npm install:

"@msrvida/sanddance-explorer": "^4",
"@fluentui/react": "^8",
"vega": "^5.25"

Import these in your JavaScript:

import * as fluentui from '@fluentui/react';
import * as vega from 'vega';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Explorer, use } from '@msrvida/sanddance-explorer';

//quickstart: use the included stylesheet
import "@msrvida/sanddance-explorer/dist/css/sanddance-explorer.css"

/*
  in your own stylesheet, you can modify the sanddance-explorer class to fit your needs.
  Example:

.sanddance-explorer {
  height: 800px;
}

*/

fluentui.initializeIcons();

use(fluentui, React, ReactDOM, vega);

const data = [
  { a: 1, b: "c1" },
  { a: 1, b: "c2" },
  { a: 2, b: "c3" },
  { a: 3, b: "c4" }
];

const explorerProps = {
    logoClickUrl: 'https://microsoft.github.io/SandDance/',
    mounted: explorer => {
        explorer.load(data);
    }
};

ReactDOM.render(React.createElement(Explorer, explorerProps), document.getElementById('app'));

Versions

Breaking changes in v4

  • removed deck.gl dependency
  • @fluentui/react @8

Breaking changes in v3

  • deck.gl dependency from 6.4 to 8.1
  • fluentui-react 7.x (formerly office-ui-fabric-react 6.x)

For more information

Please visit the SandDance website.

4.1.7

7 months ago

4.1.4

8 months ago

4.1.6

7 months ago

4.1.5

8 months ago

4.1.3

11 months ago

4.1.2

12 months ago

4.1.0

1 year ago

4.1.1

1 year ago

4.0.8

1 year ago

4.0.5

1 year ago

4.0.4

1 year ago

4.0.7

1 year ago

4.0.6

1 year ago

4.0.3

2 years ago

4.0.1

2 years ago

4.0.2

2 years ago

4.0.0-beta.0

2 years ago

4.0.0

2 years ago

3.2.0

3 years ago

3.1.1

3 years ago

3.1.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

3.0.0-beta.2

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.5

5 years ago

1.6.4

5 years ago

1.6.3

5 years ago

1.6.2

5 years ago

1.5.3

5 years ago

1.5.2

5 years ago

1.4.0

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago