animated-charts
Version:
Animated chart web components for all frameworks (React, Angular, Vue, HTML)
20 lines (19 loc) • 445 B
TypeScript
import React from "react";
import "./scatter-plot.css";
export interface ScatterPlotProps {
data: {
x: number;
y: number;
r?: number;
color?: string;
label?: string;
}[];
width?: number;
height?: number;
colors?: string[];
animationDuration?: number;
xLabel?: string;
yLabel?: string;
ariaLabel?: string;
}
export declare const ScatterPlot: React.FC<ScatterPlotProps>;