Data Display With ApexCharts | Vanilla JS & React

  Рет қаралды 91,180

Traversy Media

Traversy Media

Күн бұрын

Пікірлер: 125
@Ash-em5pm
@Ash-em5pm 6 жыл бұрын
Bro do you even sleep ? It's been like 40 hours since you uploaded a 4 video series and now here's another. How do you do create content so fast buddy? You and Your workflow are freaking amazing.
@TraversyMedia
@TraversyMedia 6 жыл бұрын
:) yeah I sleep. I work about 9 hours per day, maybe 10 some days. I really enjoy what I do which helps a ton. Don't get me wrong, I do feel burned out at times just like anyone, but overall I do exactly what I want to do in life which is coding and helping people
@Ash-em5pm
@Ash-em5pm 6 жыл бұрын
@@TraversyMedia thanks a lot for all the hard work that you do my friend. Without you , people like me would have never endeavoured to learn CS and programming . By the way the django course is really amazing, thanks for that too.
@valentinkhomuteno6825
@valentinkhomuteno6825 6 жыл бұрын
Did I get it right - this blog is your full-time job?
@tonimaunde
@tonimaunde 6 жыл бұрын
You are a great Teacher. Thanks to you i am close to finish a real app using Vue js and a Laravel API.
@arrowb
@arrowb 5 жыл бұрын
its passion bro.... it passion that keeps pushing and pushing you..
@mp3mitchp3
@mp3mitchp3 6 жыл бұрын
Traversy is my secret weapon for looking like I know what the hell I'm doing. Spoiler I have no idea what I'm doing. Thanks dude!
@AsifMehedi
@AsifMehedi 6 жыл бұрын
What a find. I'm blown away by how quickly I can get a beautiful and polished chart up and running (up and animating?). I'm going to spend this weekend to make something impressive. Thanks for bringing this to our attention.
@Eupolemos
@Eupolemos 6 жыл бұрын
That not-statement in the end blew my mind. Simple and awesome.
@cloudagnostic
@cloudagnostic 6 жыл бұрын
Was watching a c++ video and a Traversy notification popped up. Now I’m here!
@tkdevlop
@tkdevlop 6 жыл бұрын
cherno?
@cloudagnostic
@cloudagnostic 6 жыл бұрын
Nope. it was D. Banas
@giftedfingers2580
@giftedfingers2580 6 жыл бұрын
C++ is just a monster good luck man
@tkdevlop
@tkdevlop 6 жыл бұрын
@@cloudagnostic cherno is best for cpp and graphics programming.
@giftedfingers2580
@giftedfingers2580 6 жыл бұрын
Brad it's time for The Traversy Media podcast show...
@argeelearner3978
@argeelearner3978 6 жыл бұрын
Brad started recently for his patreon's www.patreon.com/traversymedia/posts
@nataliagolubeva4726
@nataliagolubeva4726 3 жыл бұрын
Thank you for the nice introduction. Working for the project and its my first experience with the charts. Your explanations are neat and clear. Its very helpful video for my work
@andresfelipeh7586
@andresfelipeh7586 6 жыл бұрын
you are one of the best teachers of youtube, awesome, thank you very much.
@romimaximus
@romimaximus 4 жыл бұрын
wow, i thought it would be more dificult than this...but you nailed it...awesome..thnakx Brad...you´re the man...thankx for sharing it..!!
@andresmontoya7852
@andresmontoya7852 6 жыл бұрын
Awesome! And one thing to mention, you can use the state without the constructor, like this: state = { options: [], name: {} } And that's it!
@karsongrady
@karsongrady 6 жыл бұрын
Thank you. If you would ever do a full video and/or paid course that showed how you can have data for certain users and depending on who is logged in, it shows their data in these super nice charts and that dashboard that you showed. That would be nice for me. I have aspirations of building an admin panel for a survey data visualization application and I have no real experience except following along to your videos for fun. Thanks again for all the great stuff.
@ionut1234567891011
@ionut1234567891011 6 жыл бұрын
hello brad, i want to thank you for everthing ! much love and health for you and your family!
@md.akib5124
@md.akib5124 6 жыл бұрын
love you brad and love your every tutorial.
@pramodkhatri840
@pramodkhatri840 6 жыл бұрын
Can we have a tutorial where we can learn to render dynamic data rather than static ones?
@damienminter1999
@damienminter1999 4 жыл бұрын
Awesome demo - exactly what I was looking for
@CerealTuesday
@CerealTuesday 6 жыл бұрын
Yet another awesome tutorial, cheers Brad! I honestly don’t know how you find the time, I can’t keep up with just following along with your videos never mind producing great content. I’ve not long since bought your Python course, can’t wait to get started👍 Again, superb stuff👌
@ParanoidNotAndroid
@ParanoidNotAndroid 2 жыл бұрын
perfectly paced and detailed ! thanks a lot
@denissanchezleyva8954
@denissanchezleyva8954 6 жыл бұрын
Brad, I clicked Like before Watch this video. Really You Never disappoint me. Congratulation Man. You are my favourite Instructor.
@nigerianairbender3609
@nigerianairbender3609 6 жыл бұрын
Thanks for everything Brad. Please we need an in depth video on react native. Even if it's on udemy, we'll really appreciate.
@cubeermaui
@cubeermaui 6 жыл бұрын
Awesome video as always. Can't wait to use this in my project.
@la_place684
@la_place684 6 жыл бұрын
I tried doing pretty much the same thing with d3 but this is much easier! Thank you
@camzpras3435
@camzpras3435 5 жыл бұрын
Brad once I make money from my Apps, I will definitely donate to you on Patreon. I have learned so much from you.
@RealParadox85
@RealParadox85 6 жыл бұрын
Yeah Brad, this is nice! A little Javascript Data Visualization course would be sick too, LOTS of React jobs I have been applying for lately seem to want that. I have some experience with React Sparklines data charts, but this seems cooler.
@its_magnetic
@its_magnetic 6 жыл бұрын
Thank you. Love and Respect from Sikkim, India.
@matthenley6704
@matthenley6704 5 жыл бұрын
Love your videos, Brad! You are the master
@douglasbrandao391
@douglasbrandao391 6 жыл бұрын
that video was awesome brad, thank you so much!!
@aidaneglin781
@aidaneglin781 6 жыл бұрын
Jesus christ dude you're on some next level shit. Truly amazing.
@ArtisanPvP
@ArtisanPvP 6 жыл бұрын
Nice video. Pretty good explained. I am not so familiar with react. Can i ask what is the advantage to make it in react instead of vanilla js?
@Alessandro-nq3tm
@Alessandro-nq3tm 6 жыл бұрын
Thank you Brad ! I think i will change from chart.js to apexchart because has a lot more options
@n_fan329
@n_fan329 6 жыл бұрын
Alessandro same here !!!
@seanmelodi
@seanmelodi 6 жыл бұрын
Hello. Do you know where I an find a bell curve chart from npm? Thanks😊
@fakeapplestore4710
@fakeapplestore4710 6 жыл бұрын
Lmao this channel is gonna hit a million so fast
@gaborszekely8387
@gaborszekely8387 6 жыл бұрын
Hey Brad, I have a question for you, if you don't mind me asking. I am currently new to programming and am having a great time learning new languages and working on projects on my own. However, I have a fear that if I go into the field professionally, it may destroy my passion for coding and leave me unable to enjoy my job. Do you think this is a valid concern, and if so, what can be done to abate this? Cheers, and thanks so much for all your great content! Gabe
@chamodnimsara7054
@chamodnimsara7054 6 жыл бұрын
hats off.... you are like a god to me ! keep this up man..... truly amazing work
@matteobarbieri2989
@matteobarbieri2989 6 жыл бұрын
Nice video Brad, just a little remark: you changed the color in pink/red but the tooltip circle remained blue
@junedchhipa
@junedchhipa 6 жыл бұрын
That's because Brad changed options.fill.colors property. There is a generic options.colors property which targets all elements' colors (bars/markers in tooltip) . You should use that one :)
@faisalamin001
@faisalamin001 3 жыл бұрын
So useful resources, thanks a bunch sir 😊
@aaxk
@aaxk 6 жыл бұрын
this is niceeee. thanks for the upload mate. I appreciate it.
@ViditKothari
@ViditKothari 4 жыл бұрын
Hi, I need help; sincerely need answer to this (I have been searching and trying as much possible): ChartJS vs ApexCharts Isn't ChartJS' documentation awful ?
@tamalmondal8550
@tamalmondal8550 5 жыл бұрын
Can you tell me what is the best(according to you) js library for adding charts? you have used chart.js, apexCharts, d3.js, etc. There are so many options so I need some suggestions, I am using angular for frontend which requests a backend API for data, Thanks for all the great tutorials! :)
@danielbabu6010
@danielbabu6010 6 жыл бұрын
Now I am Happy ! Thanks ----> Brad !
@greenarrow6689
@greenarrow6689 6 жыл бұрын
Brad carry on your great work...
@sankarnatarajan9343
@sankarnatarajan9343 3 жыл бұрын
Hi Man, nice tutorial and interested to try the annotation part. How do we dynamically add the annotation for Xaxis dates? Especially, the same annotation for multiple occurrences.
@hrudayd7665
@hrudayd7665 6 жыл бұрын
Hi Brad, Thanks for teaching us, Your are like God gift for us. If possible Please do videos on jasmine testing in angular (spec.ts) file please no videos in your channel and your courses and KZbin also not much clear on this.
@jonathansolis8913
@jonathansolis8913 6 жыл бұрын
Hey brad, what made u decied to change to MaxOS over windows?
@themoon51
@themoon51 6 жыл бұрын
For anyone wanting to conditionally display 'Vertical' or 'Horizontal' text for their button {this.state.options.plotOptions.bar.horizontal===false?'Horizontal':'Vertical'}
@jatinraj4974
@jatinraj4974 6 жыл бұрын
Full vanilla js based API project (Eg- giphy API)😍😅😅😅
@peoray
@peoray 6 жыл бұрын
He has tons of similar videos, just check out his previous videos or the JS playlist
@matthewtetley7048
@matthewtetley7048 6 жыл бұрын
Could you possibly do a react or angular video utilising a testing framework as well possibly as part of a series
@pcgs_
@pcgs_ 6 жыл бұрын
Great Tutorial Brad! Do you suggest any library for React Native?
@tkdevlop
@tkdevlop 6 жыл бұрын
For UI react native elements for navigation react navigation(V2) most good once come bundled with expo :)
@pcgs_
@pcgs_ 6 жыл бұрын
Thanks and for charts?
@simonndungu1196
@simonndungu1196 6 жыл бұрын
Brad the machine, Thanks as always, Vue guys !!
@jagadeeshmanoharan9613
@jagadeeshmanoharan9613 6 жыл бұрын
Dear Brad, what will be your next Udemy course???? Can we expect some Java or C# contents?
@305bwoy
@305bwoy 5 жыл бұрын
Can you do a deeper dive to this for dashboards,etc?
@rosdaravattanak9691
@rosdaravattanak9691 6 жыл бұрын
Thanks for your awesome tutorial sir, and I had an issue when I'm trying to integrate it into my existing project then it doesn't work after that I'm going to create a new react app and it's work.....What's the problem of this issue sir?
@johncaipa
@johncaipa 6 жыл бұрын
Great video, do you have one with maps and react?
@sergiolima2391
@sergiolima2391 4 жыл бұрын
Hello friend! There is some way to have a fixed Yaxis in a scatter chart? Do you know anything about it? tks a lot!
@Quetzalcoatl0
@Quetzalcoatl0 6 жыл бұрын
ApexCharts vs Charts.js ? Currently i'm using Charts.js but i have some problem with it. I don't have some of the functionality that i think ApexCharts has. How well it copes with the window resizing? Is it mobile friendly? Is it easy to change the data on the fly ?
@junedchhipa
@junedchhipa 6 жыл бұрын
Quetzalcoalt Apexcharts automatically resizes itself on window resize. There are responsive media queries by which you can configure different options for different screen sizes. Also, it is very easy to change data. You have to call updateSeries method. If you use React, it does update automatically on prop change. Disclaimer: I am the maker of ApexCharts.js
@Quetzalcoatl0
@Quetzalcoatl0 6 жыл бұрын
Then i'm switching to ApexCharts.js, using Vue btw. ^_^. I'm having too many problems with Chart.js
@mystickid1
@mystickid1 6 жыл бұрын
@Brad Would you mind sharing your vscode settings and extensions? Really like your setup. COuld be a video if you want too. Thx
@deEugene
@deEugene 6 жыл бұрын
cool and simple, thanks!
@crimsontiangco9286
@crimsontiangco9286 6 жыл бұрын
Thank you, Please create pagination tutorial using express, mongoose ejs or handlebars thank you Brad 😁
@michaelzucker772
@michaelzucker772 6 жыл бұрын
Hi Brad. I very much appreciate you videos and have purchased your Udemy courses. One question about the setState for the toggle near the end. I see you passed an object instead of a function. Does it matter anymore? Would it be preferred to call setState((prevState) => { //other state items here, !prevState.options.plot.optionsBar.horizontal}) this way? Thank you!
@PsychoGod9898
@PsychoGod9898 6 жыл бұрын
Yes, the function call would usually be better. The reason for this is, that setState is asynchronous. So if you have multiple setState commands after each other, you cannot be sure, that this.state already contains the changes from the last setState call.
@vincentnguyen4894
@vincentnguyen4894 4 жыл бұрын
Really nice tips, is it possible to do the same in react native ? using google analytics ? thanks :)
@davidasiamah2898
@davidasiamah2898 5 жыл бұрын
I need help populating the series with dynamic data. As it is now when I pass a mapped object to it it returns an error
@laalithaindrajith5708
@laalithaindrajith5708 4 жыл бұрын
Does anyone know how to change the color according to the changes that we did using fill.color values? Because i tried to change the colors using fill.colors option, the bar colors were changed.but the tooltip colors weren't changed..
@Archil1997
@Archil1997 6 жыл бұрын
29:00 Manipulating the state this way generally is a bad practice because of the way React updates it's state. React may batch multiple setState calls into a single update for performance, so this.state may not be updated yet. React docs reactjs.org/docs/state-and-lifecycle.html#state-updates-may-be-asynchronous recommend using a function in setState instead of an object. Function will recieve previous state as the first argument. So instead of writing: this.setState({ options: { ...this.state.options, plotOptions: { ...this.state.options.plotOptions, bar: { ...this.state.options.plotOptions.bar, horizontal: !this.state.options.plotOptions.bar } } } }) You will write: this.setState(prevState => ({ options: { ...prevState.options, plotOptions: { ...prevState.options.plotOptions, bar: { ...prevState.options.plotOptions.bar, horizontal: !prevState.options.plotOptions.bar } } } }))
@workflowinmind
@workflowinmind 5 жыл бұрын
29:01 You should not use state in setState directly, as it's async you are not guaranteed the state value is right.
@stergiosk6064
@stergiosk6064 6 жыл бұрын
Coolest instructor on the Web. Fastest also!
@simbajonrenzbryan7047
@simbajonrenzbryan7047 2 жыл бұрын
Hi! Is there a function where I can sort the data ascending or in descending order in apexchart?
@lexsoft3969
@lexsoft3969 5 жыл бұрын
I have never known this chart library because it's not listed in the so called top 7 or 10 chart libraries on sites I have ever visited. I just visited the official site of this chart library, and it looked nice, I will try it later. Now I want to know : what is your recommendation about datagrid library, especially one that has good integration with React ? I have just done a survey on 3 libraries : Datatables.net, Handsontable-React and React-Datagrid. Datatables.net is good, but I need a version of editable Datatables.net which is not free. If I only need for non-editable view, I choose Datatables.net. For an editable datagrid, currently I am exploring on Handsontable-React and React-Datagrid. Any suggestion ?
@K8Tech
@K8Tech 6 жыл бұрын
Great bro .. keep up the effort .. Thanks
@bartm7055
@bartm7055 5 жыл бұрын
Is it possible to feed those charts with the data from database? I would love to have them dynamic somehow ;)
@nusratabbas2193
@nusratabbas2193 6 жыл бұрын
Can't we just create a regular JS object? And pass it as the ApexChart Options? Why the 'state'?
@junedchhipa
@junedchhipa 6 жыл бұрын
Yes, that's entirely valid. Brad used state just to show the reactivity of the charts - meaning how you can change state and the charts will update.
@nasrockz1
@nasrockz1 6 жыл бұрын
Great video as always
@prathameshsuryavanshi6598
@prathameshsuryavanshi6598 Жыл бұрын
How do I travel through series part so to change the data part??
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 6 жыл бұрын
Thank u for this awesome video
@akshaykulkarni7357
@akshaykulkarni7357 Жыл бұрын
Can you use api and do it , using multiple apexcharts charts
@railsonramessousa4990
@railsonramessousa4990 4 жыл бұрын
Thanks, helped a lot!
@anujitdash9178
@anujitdash9178 6 жыл бұрын
Hi Brad, I follow all your videos and they are awesome. I was going through this video and exploring charts other than bar. I am not able to see the labels when I am using Pie, Donut and radialBar chart. This issue comes when I am using react, works fine when I am using normal JavaScript. Can you please help me in this.
@junedchhipa
@junedchhipa 6 жыл бұрын
Hi Anujit, the example code was wrong for donut/radialBar. I have updated the Github repository. Please check the latest example code for donut/radial-bar to know how to apply labels to those charts
@anujitdash9178
@anujitdash9178 6 жыл бұрын
@@junedchhipa thanks. It works now.
@dimitrisefstathiadis6562
@dimitrisefstathiadis6562 6 жыл бұрын
How about some D3.js?? The docs aren't very good and not much Content either. Would be great. Keep up the good work...
@Akashgame401
@Akashgame401 Жыл бұрын
You are genius sir love you sir 😊😊😊🙏
@josealfonso2117
@josealfonso2117 5 жыл бұрын
Thanks for the video. I have a question: Has anyone created a forest plot chart with ApexCharts? If so, can you please share a codepen? Thanks
@mquanit
@mquanit 6 жыл бұрын
Awesome brad....
@Isookov
@Isookov 6 жыл бұрын
Hmm, how about course on this topic? :)
@jonathansolis8913
@jonathansolis8913 6 жыл бұрын
Sir, I love you ❤️, you rock!
@ShubhamRathod-jg9gt
@ShubhamRathod-jg9gt 6 жыл бұрын
Sir please make video on how to make Library
@ajvaran8008
@ajvaran8008 Жыл бұрын
17:20 react
@rajnishpatel580
@rajnishpatel580 6 жыл бұрын
thanks a lot sir for this video
@jivtheshm.r1784
@jivtheshm.r1784 3 жыл бұрын
@brad traversys how to add animation to this apex charts
@kangqian8288
@kangqian8288 6 жыл бұрын
Hallo, sir.. When time do tutorial nativescript?? Cause nativescript have hot reload so good now. I think sir shouls try it too.
@jimothyus
@jimothyus 6 жыл бұрын
Does anyone know how he uses emmet in react jsx i cant seem to figure it out
@maxiequa567
@maxiequa567 6 жыл бұрын
vscode? some combination of the following in preferences/settings.json, add : ... "emmet.includeLanguages": { "javascript": "html", "jsx":"jsx", "react-jsx":"react-jsx", "react-html":"react-html" }, "emmet.triggerExpansionOnTab":True, "emmet.syntaxProfiles": { "javascript": "jsx" }, ... Process of elimination and remove where redundant
@SandeepKongathi
@SandeepKongathi 6 жыл бұрын
@Brad - Is the Dashboard interactive, if I select a pie in Pie Chart, does the linked Graphs change?
@monaliza7257
@monaliza7257 6 жыл бұрын
And the ​chart for react native, please.
@kesselokinga9554
@kesselokinga9554 5 жыл бұрын
Thank you
@jimfilippou
@jimfilippou 6 жыл бұрын
Big shout out to the guy behind apex-charts github.com/junedchhipa he did an amazing work, give some starzz
@natqe4049
@natqe4049 6 жыл бұрын
use cloneDeep of lodash
@maxkinli
@maxkinli 6 жыл бұрын
I wanna work in Los Angeles
@zanzaraloggan3713
@zanzaraloggan3713 8 ай бұрын
you're the best
@markokafor7432
@markokafor7432 4 жыл бұрын
Do you know of any free scheduler libraries out there. Thanks
@flaasher
@flaasher 6 жыл бұрын
Respect 🙏
@hado_99bbs56
@hado_99bbs56 6 жыл бұрын
Can you do authentication video with React and Auth0? Please
@YogeshYadav-tk9bh
@YogeshYadav-tk9bh 6 жыл бұрын
Great....
@Ali-lm7uw
@Ali-lm7uw 6 жыл бұрын
First
@marilecanuto8705
@marilecanuto8705 4 жыл бұрын
Nicee
Using Chart.js With React
23:41
Traversy Media
Рет қаралды 222 М.
GraphQL With React & Apollo [1] - Express GraphQL Server
35:01
Traversy Media
Рет қаралды 222 М.
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 11 МЛН
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 32 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 34 МЛН
React & Material UI Project Using The PixaBay API
48:18
Traversy Media
Рет қаралды 105 М.
Using Chart.JS in React.JS - A Complete Tutorial (2020)
19:57
Worn Off Keys
Рет қаралды 171 М.
Build & Deploy A React JS Text Generator App
35:20
Traversy Media
Рет қаралды 60 М.
I reverse engineered Next to find what they are hiding
29:48
Theo - t3․gg
Рет қаралды 3,8 М.
programming projects that taught me how to code
9:49
isak
Рет қаралды 297 М.
Async JS Crash Course - Callbacks, Promises, Async Await
24:31
Traversy Media
Рет қаралды 1,4 МЛН
React Infinite Scroll Challenge | Scotch.io
37:09
Traversy Media
Рет қаралды 60 М.
React File Uploader With Express (Using React Hooks)
45:01
Traversy Media
Рет қаралды 214 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 810 М.
My Favourite React Chart Library
7:55
developedbyed
Рет қаралды 31 М.
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 11 МЛН