react-garden
Version:
React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.
38 lines (35 loc) • 823 B
text/typescript
// types
interface Types {
labels: any
datasets: any
}
const bubbleChartData: Types = {
labels: ["0", "10", "20", "30", "40", "50", "60", "70", "80", "90"],
datasets: [
{
label: "Dataset One",
color: "info",
data: [
{ x: 100, y: 0, r: 10 },
{ x: 60, y: 30, r: 20 },
{ x: 40, y: 350, r: 10 },
{ x: 80, y: 80, r: 10 },
{ x: 20, y: 30, r: 15 },
{ x: 0, y: 100, r: 5 },
],
},
{
label: "Dataset Two",
color: "dark",
data: [
{ x: 70, y: 40, r: 10 },
{ x: 30, y: 60, r: 20 },
{ x: 10, y: 300, r: 25 },
{ x: 60, y: 200, r: 10 },
{ x: 50, y: 300, r: 15 },
{ x: 20, y: 350, r: 5 },
],
},
],
}
export default bubbleChartData