Visualize Data with a Bar Chart - D3.js - FreeCodeCamp

preview_player
Показать описание

The rules:
-I can see US Gross Domestic Product by quarter, over time.
-I can mouse over a bar and see a tooltip with the GDP amount and exact year and month that bar represents.

Find the rules directly from FreeCodeCamp:

On GitHub:
and on Codepen

------------------------------------------------------------------------------------------

Other videos:

**************************************
Would you like to buy me a coffee?!

but If you can't that's ok too!

**************************************
If you have any question, don't hesitate to ask,
I'll do my best to answer it!

**************************************
Like, share and subscribe are always welcome.

Let's stay in touch:
Рекомендации по теме
Комментарии
Автор

I don't know why but defining .attr with object like you did in 10:25 didn't work for me. I had to add .attr for each (x, y, width, height) separately.

wyarn
Автор

Hi Eleftheria, when i run the code it says d3 wasn't defined. i used the exact code from the video in the codepen with the exact versions and everything. i don't know how to make the code run

gerarich
Автор

Hi Eleftheria, thank you for the video. I'm stuck with a JSON data request part which is a part. Why do you write at the end drawbar(dataset) function? If you could explain to me this part you would do me a great favor. thanks

ibrahimisrafilov
Автор

Hi @Eli, is it possible to see those data ? i was building a project which is similar to yours but i need to write them in my codes. thanks !

mrzack
Автор

Awesome! This video and your d3 series are great! How long have you been using d3.js?

tgreen
Автор

I'm Very Much A Novice At This D3.js Thing. I Can't Seem To Figure Out How To Get Rid of the Vertical Axis Text and Tick Marks. How Would You Get the Numbers on the Y-axis and the Little Tick Marks on the Axis To Go Away??


Btw, Thanks Lots for This Tutorial. You Really Seem To Know What You're Doing : )

AcTheMace
Автор

Thanks for the video..! I understand you must be hell of a developer but who writes whole CSS without single HTML tag... haha..

akshaymemane
Автор

I asked where are you from but you didn't answer.im just curious about your English accent.

LiaSueKim