Fine0830 / tree-map-react

This project is tree map component with React and D3.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is tree map component with React and D3.js

Available Scripts

In the project directory, you can run:

npm run start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Learn More

There are some functions, such as zoom in, zoom out, scale, add node, delete node

Data Source

export default { name: 'flare', type: 'prod', children: [ { name: 'data', type: 'prod', tmp: '3200tpm', error: '14err', avgTime: '1234ms', children: [ { name: 'DataField', type: 'prod', tmp: '3240tpm', error: '19err', avgTime: '1334ms' }, { name: 'DataSchema', type: 'stage', tmp: '3280tpm', error: '12err', avgTime: '1934ms', }, { name: 'DataSet', type: 'stage', tmp: '3200tpm', error: '14err', avgTime: '1234ms' } ] }, { name: 'methods', type: 'prod', tmp: '3200tpm', error: '14err', avgTime: '1234ms', children: [ { name: 'add', type: 'stage', tmp: '3200tpm', error: '94err', avgTime: '1214ms', }, { name: 'count', type: 'prod', tmp: '3210tpm', error: '13err', avgTime: '1239ms', }, { name: 'mul', type: 'prod', tmp: '3200tpm', error: '14err', avgTime: '1234ms' }, { name: 'sum', type: 'stage', tmp: '3200tpm', error: '14err', avgTime: '1234ms' } ] } ] }

Image Presentation

Image text

About

This project is tree map component with React and D3.js


Languages

Language:JavaScript 86.0%Language:HTML 7.5%Language:CSS 6.5%