import { ScaleLinear } from "d3-scale"; import React from "react"; type Props = { dataset: number[][]; xScale: ScaleLinear; yScale: ScaleLinear; }; export const Circles = ({ dataset, xScale, yScale }: Props) => { return ( {dataset.map((d) => ( ))} ); };