Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
holtzy committed Apr 2, 2024
1 parent cd4d947 commit 35646a2
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions viz/RadarDatasetAnimation/index.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
import ReactDOM from 'react-dom';
import { data } from './data';
import { Radar } from './Radar';
import { RadarDatasetAnimation } from './RadarDatasetAnimation';

const rootElement = document.getElementById('root');
ReactDOM.render(
<Radar
data={data}
width={500}
height={500}
axisConfig={[
{ name: 'speed', max: 10 },
{ name: 'acceleration', max: 10 },
{ name: 'conso', max: 10 },
{ name: 'safety', max: 2 },
{ name: 'style', max: 1000 },
{ name: 'price', max: 100 },
]}
/>,
<RadarDatasetAnimation width={600} height={600} />,
rootElement
);

0 comments on commit 35646a2

Please sign in to comment.