Pie Charts in React with visx

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 33

  • @user-ub7xo3qz2b
    @user-ub7xo3qz2b 3 ปีที่แล้ว +6

    Great video, as always. Would love to see more visx chart tutorials

    • @leighhalliday
      @leighhalliday  3 ปีที่แล้ว

      Thanks James! I’ll do my best!

  • @igor_cojocaru
    @igor_cojocaru 3 ปีที่แล้ว

    Interesting stuff Leigh!
    Thank you

  • @napoleonthegreat7286
    @napoleonthegreat7286 3 ปีที่แล้ว

    Excellent work, exactly what I needed !

  • @valentineedesiriefagene7565
    @valentineedesiriefagene7565 2 ปีที่แล้ว

    Thank you very much for this. With React 18 on NextJS 12, I was really short on chart options, with a looming deadline, and the docs examples for Visx are so bloated you're likely to hit another dependency that doesn't play well with React 18 yet (react-spring), so this really saved me.

    • @marcel5235
      @marcel5235 ปีที่แล้ว

      just looking for some charts lib that is customizable and "simple" enough and this seems that works well with nextjs - I would recommend omit react-spring entirely, on the video he is using svg primitives so you can animate them with framer-motion

  • @chris3079
    @chris3079 3 ปีที่แล้ว

    just a show idea, but just learned about react-virtual today, and except for a near 3-hour video from Kent C. Dobb's, I really don't see any tutorials on it. It's a nice replacement for react-windows etc

  • @tarunsukhu2614
    @tarunsukhu2614 3 ปีที่แล้ว

    Excellent as usual. How do you compare this with recharts. Again I learnt about recharts from you only. My impression or POV I guess if you want more finer control and customization fir your charts visx may be more suitable. Recharts though has some low level apis it's still not providing this level of fine grained control

    • @leighhalliday
      @leighhalliday  3 ปีที่แล้ว

      Thanks Tarun! I agree, recharts is probably the way to go if you want a simple pie chart... it's a great package. But if you want full control, visx seems like a great option!

  • @StefanaGloginicUS
    @StefanaGloginicUS 11 หลายเดือนก่อน

    Wondering if you know or can share how visx copes with big data?

  • @Cosmos_Studio
    @Cosmos_Studio 2 ปีที่แล้ว +1

    Oh nice, but do you have a clue to render an image on the chart path?

    • @wobsoriano
      @wobsoriano 2 ปีที่แล้ว

      You can, but it’s too low-level you have to check their docs and play with it

  • @rundtmeg
    @rundtmeg 3 ปีที่แล้ว

    Nice as an example, but what about the UX for keyboard and screen reader users? How could we make the “hover” actually accessible? Or can they tab to the individual pie values somehow?

    • @leighhalliday
      @leighhalliday  3 ปีที่แล้ว

      Yea! You could definitely handle it that way… tab would cycle through the coins and store them in active state. Give it a go!

  • @TheeHomorobo
    @TheeHomorobo 2 ปีที่แล้ว

    Why parameter "d" in not working? My IDE says 'string | null' is not assignable to type 'string | undefined', no idea how to fix that

  • @s.hariharan6958
    @s.hariharan6958 3 หลายเดือนก่อน

    i heard this npm package while searching d3 visualizing in github

  • @charlesxavier77
    @charlesxavier77 2 ปีที่แล้ว

    How do you add transition on the width ?

  • @brielov
    @brielov 3 ปีที่แล้ว

    Theme and font??

  • @kaisian4940
    @kaisian4940 3 ปีที่แล้ว

    Do you mind to demo a candlestick chart?

    • @leighhalliday
      @leighhalliday  3 ปีที่แล้ว +1

      Hey Kai! I honestly haven't really had a use for a candlestick chart yet... I guess I don't do much financial/investment applications where you're tracking a low/high range over a period of time.

    • @kaisian4940
      @kaisian4940 3 ปีที่แล้ว

      @@leighhalliday it’s okay, thanks for the content

  • @stevereid636
    @stevereid636 3 ปีที่แล้ว

    How would you compare visa to D3?

    • @leighhalliday
      @leighhalliday  3 ปีที่แล้ว

      I have actually never used straight up D3 so I am not really sure, but visx (along with most other libraries like this) uses D3 under the hood.

  • @berlino5563
    @berlino5563 3 ปีที่แล้ว

    Hi Leigh, i have a issue with react, can you help my to understand where is my issue? Thank you for support ;)

    • @leighhalliday
      @leighhalliday  3 ปีที่แล้ว +1

      Hey! I have a Discord (in description), feel free to join and ask the community for support.

  • @wobsoriano
    @wobsoriano 3 ปีที่แล้ว

    A fellow ADA hodler? :p

  • @usernameL1
    @usernameL1 3 ปีที่แล้ว

    Great tutorial, but you should just get Bitcoin

  • @i-am-the-slime
    @i-am-the-slime 3 ปีที่แล้ว

    Please never use pie charts

    • @leighhalliday
      @leighhalliday  3 ปีที่แล้ว

      Sorry, I’ll try to stick to donut charts :)

    • @i-am-the-slime
      @i-am-the-slime 3 ปีที่แล้ว

      @@leighhalliday perfect thanks