From the course: D3.js Essential Training for Data Scientists
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Text - D3.js Tutorial
From the course: D3.js Essential Training for Data Scientists
Text
- [Narrator] Now what if you have non-numeric data? You might be interested in how often certain words occur in a passage of text. Now you could count up the occurrences and show them as a bar chart, but you do have other options. For example, you could use a word cloud using a D3 plugin. And if you had time series data, you could just animate it. How about a completely different kind of text data? Corporations often store masses of text data they don't analyze. For example, imagine you've got staff names stored against project name. They're both text fields. It's hard to visualize that in a bar chart, but using a co-occurrence matrix, you can show density of occurrence with depth of color. You could also use different types of color to show different types of project. There's an awful lot you can do with a co-occurrence matrix, and of course, you can animate it over time. And if your text data are actually showing relationships, you might want to use something like a chord diagram…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.