about summary refs log tree commit diff stats
path: root/src/algorithms/2d-transformations/Scaling.svelte
blob: ce312defa5f0b5f49e059fbb3651e722c9f627c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<script>
  import { onMount } from "svelte";
  import Plotly from "plotly.js-basic-dist-min";

  onMount(() => {
    Plotly.newPlot('algoChart', [{
      x: [1, 2],
      y: [2, 3],
      type: 'lines',
      name: 'Scaling'
    }]);
  });
</script>

<h2>Scaling</h2>
<div id="algoChart"></div>
<style>
</style>