Adding Gridlines, Custom Axis, CSV Data - Create Beautiful Charts With D3 - D3.js Beginner's Guide

Описание к видео Adding Gridlines, Custom Axis, CSV Data - Create Beautiful Charts With D3 - D3.js Beginner's Guide

Create Beautiful Line Charts in D3 - Beginners Guide Part 2. We use d3.csv() to add a real dataset to the chart we made in part one of this series. We also customize the axis labels and ticks, add in some subtle grid lines, and give the chart a title and source credit.

By the end of video two, you will have all the basic code you need to build nearly any line chart you can imagine, right in D3, with a touch of some more advanced techniques, like filtering out specific axis labels. You'll also have a template that looks modern and sharp, and is ready for any D3 and design customization you'd like to add in.

Chapters:
0:00 D3.js Video Intro
0:16 Downloading Data for the Viz
0:58 Loading CSV Data into d3.js
3:12 Adjusting Y Axis Domain
3:37 Limiting X and Y Axis Ticks
4:20 Formatting Y Axis Text to Show Thousands
4:45 Removing X and Y Axis Lines and Ticks
6:38 Adding Grid Lines to a D3.js Chart
8:00 Adding a Title
8:37 Adding Y Axis Label
9:04 Adding a Source Caption
9:29 Outro

See Part 1 here!:    • Create Beautiful Line Charts With D3 ...  

Code from this video:
https://github.com/datavizdad/d3linec...

Code from Part 1: video:https://github.com/datavizdad/d3linec...

More about d3: https://d3js.org/

Data Source: https://jaildatainitiative.org/dashbo...

Subscribe to catch any new videos I'll be posting about data visualization, data storytelling, d3, ggplot and other topics I'm passionate about in the data viz world.

Комментарии

Информация по комментариям в разработке