CodeSnaps
CodeSnaps
  • 14
  • 83 422
Build Charts in React With Recharts in 7 Minutes
Learn how to create beautiful charts in React with Recharts, a charting library built specifically for React. Once you understand how to create one chart, you can pretty much create any chart you can imagine.
📚 Materials/References:
Code: github.com/CodeSnaps/recharts-library
## Here’s What You’ll Learn 👨🏻‍💻
- What is Recharts
- How to install Recharts
- How to create an area chart, bar chart, and line chart
- How to make your charts responsive
- How to customize your charts
- How to add a tooltip to your charts and customize it
- How to add a legend to your charts
- How to add a grid to your charts
- How to add an x-axis and y-axis to your charts
👇 Timestamps:
00:00 Intro
00:44 Setup & Installation
01:19 Area Chart
02:34 Responsiveness & Styling
03:14 Second Area Chart
03:46 Axis and Cartesian Grid
04:13 Legend & Tooltip
05:55 Bar Chart
06:44 Line Chart
07:26 Outro
zhlédnutí: 17 374

Video

Build Stunning Documentation With React & Docusaurus (Complete Guide)
zhlédnutí 14KPřed 9 měsíci
Learn how to create stunning documentation in minutes with React and Docusaurus. Spend more time building your product and less time writing your documentation. 📚 Materials/References: Code: github.com/CodeSnaps/docusaurus-guide Here’s What You’ll Learn 👨🏻‍💻 - What is Docusaurus - Install Docusaurus - Creating your own documentation - MDX (Markdown JSX) - Import components into Markdown - Using...
The Only JavaScript Cheat Sheet You Need (For Beginners & Pros)
zhlédnutí 623Před 10 měsíci
Welcome to the ultimate JavaScript cheat sheet, your go-to resource to reference and look up everything from the basics to advanced techniques in JavaScript! 👨🏻‍💻 Here's what you'll learn: - Comments - Console - Variables - Numbers - Booleans - Strings - Assignment Operators - Conditionals - Functions - Scope - Arrays - Array Methods - Iterators - Loops - Objects - Classes - Modules - Promises ...
Next.js 13 Changed Data Fetching and Rendering... But Is It Good?
zhlédnutí 6KPřed 11 měsíci
What's the difference between app router, page router, static site generation, static rendering, server-side rendering, dynamic rendering, incremental static regeneration, server components, client components, getStaticProps, getServerSideProps, getStaticPaths, generateStaticParams, and hydration? 📚 Materials/References: Server & Client Components: czcams.com/video/aoHK8skFZ1U/video.html 👨🏻‍💻 H...
Everything You Need to Know About Server Components in Next.js 13
zhlédnutí 22KPřed 11 měsíci
With the release of Next.js 13, Next.js officially supports React server components, and here's everything you need to know about server components so you can start building better, faster apps right away. 📚 Materials/References: Code: github.com/CodeSnaps/react-server-components 👨🏻‍💻 Here's what you'll learn: - What are server components - The difference between server and client components - ...
Beautiful Password Generator using only HTML, CSS, and JavaScript | Step-by-Step Tutorial
zhlédnutí 150Před 11 měsíci
Use only HTML, CSS, and JavaScript to create a beautiful password generator. We'll cover everything from creating a colored character-length slider, implementing toggles for including numbers and symbols, copying the password to the clipboard, and even adding a password strength meter. 📚 Materials/References: Full Repository: github.com/CodeSnaps/password-generator-vanilla-js Full HTML Code: gi...
Next.js 13 & Tailwind CSS: Build an Amazing Tip Calculator App in Minutes!
zhlédnutí 1,1KPřed rokem
Build an amazing tip calculator app using Next.js 13 and Tailwind CSS with a step-by-step process to create a fully functional tip calculator app from scratch. Key Takeaways: - Set up a Next.js 13 project and configure Tailwind CSS - Implement server-side and client-side rendering in Next.js 13 - Use the production-ready app router - Build a responsive tip calculator app with a user-friendly in...
Animated Search Bar with HTML, CSS, & JavaScript | Interactive and Engaging UI
zhlédnutí 647Před rokem
Search bars are boring, but you can take the user experience to the next level by making them interactive and animated using only HTML, CSS, and JavaScript 💻 📚 Materials/References: Full Repository: github.com/CodeSnaps/animated-search-bar CSS Code: github.com/CodeSnaps/animated-search-bar/blob/main/css/style.css 👨🏻‍💻 Here's what you'll learn: - Create an animated search bar - Use only HTML, CS...
How to Implement Dark Mode in React/Next.js Using Sass
zhlédnutí 2,8KPřed rokem
Dark mode has become a popular feature on websites, and we'll explore a simple yet scalable solution for your React/Next.js app using Sass 🔥 📚 Materials/References: Full Repository: github.com/CodeSnaps/theme-toggle-nextjs-sass Sass Code: github.com/CodeSnaps/theme-toggle-nextjs-sass/blob/main/app/globals.scss 👨🏻‍💻 Here's what you'll learn: - Implement a dark mode toggle - Create a Next.js 13 a...

Komentáře

  • @derippu_desu
    @derippu_desu Před 12 dny

    Thanks

  • @mukeshsangal8792
    @mukeshsangal8792 Před měsícem

    Super and Quick Resolution to recharts thanks so much

  • @alexisngaing3690
    @alexisngaing3690 Před měsícem

    Thanks

  • @tusharnagar1398
    @tusharnagar1398 Před měsícem

    Thanks you so much ! You are great

  • @dineshdhoni7470
    @dineshdhoni7470 Před měsícem

    I am your subscriber now. Kindly post something awesome like this

  • @vibhukarnwal4926
    @vibhukarnwal4926 Před 2 měsíci

    plz make more videos on charts and dashboards json data plz

  • @scotmarvin8991
    @scotmarvin8991 Před 2 měsíci

    Really helpful, Kaumon! Thanks for creating and sharing this wonderful resource.

  • @Apeiron242
    @Apeiron242 Před 2 měsíci

    Jesus, would it kill them to make an interface?!

  • @abishekbaiju1705
    @abishekbaiju1705 Před 2 měsíci

    Thank you , thank you and thank you. You just completely cleared all of my doubts regarding this topic.

  • @akashkarthi5276
    @akashkarthi5276 Před 2 měsíci

    Mann..this video is soooo underrated

  • @thelowprofeeling7422
    @thelowprofeeling7422 Před 2 měsíci

    What is your icon theme? It looks so good!

  • @alexg7282
    @alexg7282 Před 2 měsíci

    If you have a Typescript error with <Tooltip content={<CustomTooltip />} /> you have to add : - Import TooltipProps from "recharts" - import { ValueType, NameType, } from "recharts/types/component/DefaultTooltipContent"; Finally : const CustomTooltip = ({ active, payload, label, }: TooltipProps<ValueType, NameType>) => {....

  • @Coweaterthe1st
    @Coweaterthe1st Před 3 měsíci

    Very helpful, thank you!

  • @shreyankcode5902
    @shreyankcode5902 Před 3 měsíci

    Great tutorial, just as needed !!!

  • @abhishekchandel4244
    @abhishekchandel4244 Před 3 měsíci

    appreciate the quality of the content

  • @GhostZodick
    @GhostZodick Před 3 měsíci

    docusaurus doesn't seem to have a search bar. If I have lot's of documents, I won't be able to search them.

    • @GuidoJansen-yk7ne
      @GuidoJansen-yk7ne Před 3 měsíci

      It has built-in Algolia search. It's disabled by default that's why you didn't see it in the demo. Instructions on how to enable it can be found in the docs 😊

  • @tronganhnguyenthanh1157
    @tronganhnguyenthanh1157 Před 3 měsíci

    Hi. I have a question for you. How to customize the data in YAxis ?

  • @user-et2ip6cu8e
    @user-et2ip6cu8e Před 3 měsíci

    that's amazing video on next js Data Fetching and comparison between next 12 vs 13. well done. Thank you for sharing your knowledge on such a this simple and easy way

  • @RBSTREAMS
    @RBSTREAMS Před 4 měsíci

    hey! that was a very nice and super quick walkthrough , thank you so much for this!❤ you got a sub

  • @shivanisehgal7545
    @shivanisehgal7545 Před 4 měsíci

    Very helpful explanation !! Is there a way to mimic getInitialProps in next 13?

  • @adreto2978
    @adreto2978 Před 4 měsíci

    cool video but I can hear mouth noises - if you fixed your audio you would get way more subs. Steal fireships audio setup lol

  • @aakasheoran
    @aakasheoran Před 4 měsíci

    How can I customize the background/hvoer color of a bar group when I hover over them in a bar graph?

  • @otis2646
    @otis2646 Před 4 měsíci

    😘

  • @ShubhamYadav-tu2sc
    @ShubhamYadav-tu2sc Před 4 měsíci

    thankyou that's what i was looking for

  • @oussamachahidi9201
    @oussamachahidi9201 Před 4 měsíci

    That really helps man, thanks !

  • @ahmadbaghereslami796
    @ahmadbaghereslami796 Před 4 měsíci

    thanks

  • @evstafyevandrew2198
    @evstafyevandrew2198 Před 4 měsíci

    Спасибо, друг!!!

  • @caesarsage
    @caesarsage Před 4 měsíci

    Thanks for this amazing guide. What do you suggest if i should use a WordPress for my blogs or use docusaurus for both my documentation and blogs

  • @rootbattlegrounds7948
    @rootbattlegrounds7948 Před 4 měsíci

    Very nice explanation

  • @NIXO3D
    @NIXO3D Před 5 měsíci

    Fantastic tutorial 🔥 Thank you for sharing 🍻

  • @someguyO2W
    @someguyO2W Před 5 měsíci

    This was an amazing introduction and feature walk through. I've been struggling to understand exactly what docusaurus does without reading the docs. This did it for me.

  • @nueltrigah9836
    @nueltrigah9836 Před 5 měsíci

    Can I use this on my react project without next.js?

    • @Oxmodius19
      @Oxmodius19 Před 2 měsíci

      Yes, absolutely. It's 100% the same as in this video

  • @arvindcool7994
    @arvindcool7994 Před 5 měsíci

    Great video. it was easy to follow. Instant subscribe. I have a question tho. In BarChart, How to control the bg fill of the CartesianGrid on hover? <Bar type="monotone" dataKey="revenue" stroke="#2563eb" fill="#3b82f6" activeBar={<Rectangle fill="#3069D1" stroke="#2155C0" />} // we can control the individual bar like this on hover /> / but the grid turn white and it's doesn't look good.

    • @arvindcool7994
      @arvindcool7994 Před 5 měsíci

      NeverMind got it <Tooltip content={<CustomTooltip />} cursor={{ fill: '#fff', fillOpacity: 0.075 }} />

  • @adonisjrsuico6065
    @adonisjrsuico6065 Před 5 měsíci

    help. how to make tooltip scrollable?

  • @miguelvelascodev
    @miguelvelascodev Před 6 měsíci

    Thanks bro ! Amazing video and so helpful. Keep going !

  • @kaashee
    @kaashee Před 6 měsíci

    I’m so scared by this I dunno if You’re just speaking random words or if this Is Overt terrorism

  • @user-sw4ed4gh9n
    @user-sw4ed4gh9n Před 6 měsíci

    6:00

  • @prashlovessamosa
    @prashlovessamosa Před 6 měsíci

    Thanks 👍

  • @royaldemon307
    @royaldemon307 Před 6 měsíci

    I have been using Docusarus over a year, now it's great static generator tools which help you on documentation but I have struggling on one thing, to upgrade my project to Docusarus 3.1 , It gives error to upgrade from 2.4 because fontend is old version of react also other dependancy, I will appreciate if you make simple tutorial video, how to upgrade Docusarus 2.4 to 3.1 , because it's my whole year of hard work it would headache for me I struggle on fixing error by Docusarus

  • @dios8256
    @dios8256 Před 6 měsíci

    This is great

  • @HarshDoes
    @HarshDoes Před 7 měsíci

    Your explanation, editing and voice is so good. You should create some more content like this. You got a new sub 🫡

  • @prashlovessamosa
    @prashlovessamosa Před 7 měsíci

    Thanks

  • @krishnamohanm8569
    @krishnamohanm8569 Před 7 měsíci

    Thank you youtube for spying on me and recommending this video at the correct time. Anyway awesome tutorial.😄

  • @user-gu1hl4dr8u
    @user-gu1hl4dr8u Před 7 měsíci

    How to customize images on default homepage?

    • @CodeSnaps
      @CodeSnaps Před 7 měsíci

      You can customize the homepage under "/src/pages/index.js". It's very easy. The default one comes with a <HomepageFeatures />, it's under "/src/components" where you can specifically change the images. Hope this helps!

    • @user-gu1hl4dr8u
      @user-gu1hl4dr8u Před 7 měsíci

      @@CodeSnaps not really. I don't understand how to change format from svg to anytype. I would like to set there png or webp image using the default template. Anyway, thank you for your anwer.

    • @CodeSnaps
      @CodeSnaps Před 7 měsíci

      Ah, I see what your problem is. If you want to use the default template structure, go to the HomepageFeatures component and replace the <Svg /> line with something like <img src={Image} className={styles.featureImage} alt={title} />. In the FeatureList array, you can change the property from Svg: require('...').default to Image: require('...').default. Make sure you change the prop from Feature({Svg, title, description}) to something like Feature({Image, title, description}). Hope this helps now!

    • @user-gu1hl4dr8u
      @user-gu1hl4dr8u Před 7 měsíci

      @@CodeSnaps thank you very much. You helped a lot.

    • @user-gu1hl4dr8u
      @user-gu1hl4dr8u Před 7 měsíci

      @@CodeSnaps but still there is an error: Failed to execute 'createElement' on 'Document': The tag name provided

  • @ancientelevator9
    @ancientelevator9 Před 8 měsíci

    This is seriously the greatest thing ever

  • @ThanhTran27507
    @ThanhTran27507 Před 8 měsíci

    i want to create page like default, I want to english version, and korea version of docs in navbar. How to make it ?

    • @CodeSnaps
      @CodeSnaps Před 8 měsíci

      That's absolutely possible. First you have to declare the default locale and alternative locales in docusaurus.config.js. Then you create the translation files and put them in the right file system. Then you can deploy the site using single or multi-domain strategies. It's best to check the documentation for details, but it's totally possible.

  • @Reflekt0r
    @Reflekt0r Před 8 měsíci

    Awesome, please make more Docusaurus videos!

  • @localhost0148
    @localhost0148 Před 8 měsíci

    I really enjoyed the content of this video. I was searching for some good and fast explanation of client component and server actions and most of the short videos are just talking about surface level stuff or the other videos are more then 30 min long. This is some good explanation and example that is easy to process. Keep this up mate.

  • @paulmothapo
    @paulmothapo Před 8 měsíci

    Thank you❤️🔥

  • @sumitmishra-cy4uz
    @sumitmishra-cy4uz Před 8 měsíci

    Well explained👏👏👏