visxに触ってみた話

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
kab0718
January 10, 2025
290

 visxに触ってみた話

kab0718

January 10, 2025

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

9 slides
  1. サンプルコード
 • @visx/scaleと@visx/shapeを使うと作れるらしい
 
 • @visx/scale
 const scale = Scale.scaleLinear({

    domain: [0, 1000], // 実データの値のレンジ range: [0, 250], // グラフ上の値のレンジ }); scale(200) // 50が返ってくる • @visx/shape
 ◦ 指定した座標間に線を引ける