We may earn an affiliate commission when you visit our partners.
Elisabeth Robson

This project takes you through building a data visualization of COVID19 data from Johns Hopkins University from start to finish, usingjs. In this project, you'll learn how to process data to pull out relevant information, structure the data for visualizing, use JavaScript's map and filter methods, use D3.js's scale functions, and more. You'll practice your JavaScript skills while creating a visualization to help you and others understand real world data affecting everyone right now.

Enroll now

What's inside

Syllabus

Get started

Welcome! This video describes what you'll be doing in this project, and what you need to know in order to get started. By the end you'll be ready to go.

Read more
Get and inspect the data
Read the CSV data into your application and inspect the data in the browser console

Create the HTML for the page, and link to the resources. You can download D3.js for this course, or just link to the online resource.

Read the CSV data into your application using D3, and display it in the console for inspection. You'll have a good understanding of the data by the end of this section.

You'll use Array methods map and filter, Object methods keys() and entries(), and Math methods max() and min() to process the data, restructure it, and pull out key parts we need for visualization.

Compute the start and end dates of the data set so we can scale the date axis of the graph correctly. You'll learn how to use map and filter to pull out the data we need, and how to use the spread operator.

Sort the data so we can find the countries with the top 10 number of COVID19 cases.

Structure the data so it is appropriate for graphing by creating a parallel array with just the data we need.

Find the maximum number of cases to scale the y axis of the graph.

Use D3.js methods and scaling functions to create graph axes, lines and circles to represent the data, colors to differentiate the data, and an interactive tooltip for the user.

Create the graph axes using D3.js, and size the graph to the page. Use scale functions to map from the data to the width and height of the graph.

Add a line to the graph for each of the top 10 countries, scaling the data for the graph.

Use D3.js's color sets and scaling functions to map data to colors.

Add the final touch: a tool tip that displays when the user mouses over a line of data on the graph. You'll learn how to use D3 to position the tooltip on the page and show and hide the tooltip.

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Uses D3.js, which is a popular JavaScript library for producing dynamic, interactive data visualizations in web browsers, making it relevant for those in data-driven fields
Employs JavaScript's map and filter methods, which are essential for data manipulation and transformation, enhancing skills applicable to various data processing tasks
Focuses on processing time series data, a common task in fields like finance, epidemiology, and environmental science, providing practical experience for real-world applications
Requires learners to download D3.js or link to the online resource, which may pose a barrier for learners with limited bandwidth or those who prefer offline access
Examines data from Johns Hopkins University, which may add credibility and relevance to the project, but the data itself may be outdated

Save this course

Save How to Process Time Series Data with JavaScript to your list so you can find it easily later:
Save

Reviews summary

Process time series with js & d3

Based on the course description, learners can expect to build a data visualization project using JavaScript and D3.js to process and display time series data. The course focuses on practical skills like using JS array methods and D3.js scaling functions. Without actual student reviews, a comprehensive summary of student experiences is not possible.
Course uses practical data visualization project.
"The syllabus indicates a project-based approach using COVID19 data."
"Focus is on building a data visualization from start to finish."
"Real-world data makes the project relevant and engaging."
Covers processing data with JavaScript.
"Learn to process data using map and filter methods."
"Covers structuring data for visualization purposes."
"Practice extracting relevant information from raw data."
Teaches D3.js for graphing and visualization.
"Learners will use D3.js for axes, lines, colors, and tooltips."
"Covers using D3.js scale functions to map data to visuals."
"Introduces using D3 to position and manage interactive elements."
May require prior JavaScript familiarity.
"The project requires using various JavaScript array and object methods."
"Familiarity with core JS concepts seems necessary."
"Beginners in JS might find the pace challenging."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in How to Process Time Series Data with JavaScript with these activities:
Review JavaScript Array Methods
Reviewing JavaScript array methods like map, filter, and reduce will help you efficiently process and restructure the COVID-19 data in the course.
Browse courses on JavaScript Arrays
Show steps
  • Read documentation on array methods.
  • Practice using array methods with simple data.
  • Try implementing array methods in a small project.
Brush up on D3.js Scales
Understanding D3.js scales is crucial for mapping data values to visual representations in the graph, ensuring accurate and effective data visualization.
Browse courses on D3.js
Show steps
  • Study the different types of D3 scales.
  • Experiment with scale functions in a D3 project.
  • Practice mapping data to visual elements.
Read 'Interactive Data Visualization for the Web' by Scott Murray
Reading this book will provide a solid foundation in D3.js, enabling you to better understand and implement the data visualization techniques used in the course.
Show steps
  • Read the chapters on D3.js scales and axes.
  • Work through the examples in the book.
  • Apply the concepts to a small data visualization project.
Four other activities
Expand to see all activities and additional details
Show all seven activities
Practice Data Manipulation with JavaScript
Practicing data manipulation exercises will reinforce your ability to process and restructure data, which is essential for creating effective visualizations.
Show steps
  • Find datasets online.
  • Use JavaScript to filter and transform the data.
  • Visualize the results using console logs or simple HTML tables.
Write a Blog Post on D3.js Tooltips
Creating a blog post explaining how to implement tooltips in D3.js will solidify your understanding of event handling and DOM manipulation.
Show steps
  • Research different tooltip implementations.
  • Write a clear and concise explanation of the code.
  • Include code examples and screenshots.
  • Publish the blog post online.
Expand the COVID-19 Visualization
Expanding the COVID-19 visualization by adding new features will deepen your understanding of data processing and visualization techniques.
Show steps
  • Add a dropdown menu to select different countries.
  • Implement a date range selector.
  • Add a chart comparing different countries.
  • Deploy the visualization to a website.
Read 'Data Visualization with JavaScript' by Stephen Thomas
Reading this book will expose you to a variety of data visualization techniques and provide practical examples for implementing them in JavaScript.
Show steps
  • Read the chapters on different chart types.
  • Experiment with the code examples in the book.
  • Try creating your own visualizations based on the examples.

Career center

Learners who complete How to Process Time Series Data with JavaScript will develop knowledge and skills that may be useful to these careers:
Data Visualization Engineer
A Data Visualization Engineer translates complex datasets into understandable visual representations. This course equips you with skills directly applicable to this role, particularly using JavaScript and D3.js to create interactive visualizations. You will learn how to process data, extract relevant information, and structure it for effective visualization. The work involves creating graphs, charts, and dashboards that communicate insights to stakeholders. This course is valuable because it provides hands on experience with real world data, specifically COVID19 data from Johns Hopkins University.
Business Intelligence Developer
Business Intelligence Developers design and develop solutions that enable businesses to track, analyze, and improve performance. This course teaches skills needed to construct data visualizations using Javascript and D3.js. This course shows you how to process data to pull out relevant information, structure the data for visualizing, use JavaScript's map and filter methods, use D3.js's scaling functions, and more. You'll practice your JavaScript skills while creating a visualization to help you and others understand real world data.
User Interface Engineer
A User Interface Engineer specializes in creating interactive and visually appealing interfaces for web applications. This course provides a project based learning experience, enabling you to learn how to use JavaScript and D3.js to build data visualizations, which are often incorporated into user interfaces. The course also allows you to work with real world data, teaching you how to process it and effectively present information to users. This course is valuable because it imparts practical development skills.
Epidemiologist
Epidemiologists study the patterns, causes, and effects of health and disease conditions in defined populations. Since the course uses COVID19 data, this course is likely to be of interest to epidemiologists. The course teaches you how to process data to pull out relevant information, structure the data for visualizing, use JavaScript's map and filter methods, and use D3.js's scaling functions. You'll practice your JavaScript skills while creating a visualization to help you and others understand real world data.
Web Developer
Web Developers are responsible for building and maintaining websites. This course helps you to create data visualizations using JavaScript and D3.js. This course teaches you how to process data to pull out relevant information, structure the data for visualizing, use JavaScript's map and filter methods, and use D3.js's scaling functions. You'll practice your JavaScript skills while creating a visualization to help you and others understand real world data.
Data Reporting Analyst
Data Reporting Analysts generate reports to track key performance indicators and provide insights to stakeholders. This course enhances your ability to create dynamic and interactive data visualizations using JavaScript and D3.js. The course teaches you how to process data, extract relevant information, and structure it effectively for visual representation. A Data Reporting Analyst may find this course to be useful for presenting data in a compelling way.
Front-End Developer
Front End Developers are responsible for building the user interface and user experience of websites and applications. This course provides a practical project that uses JavaScript to process and visualize data, a skill which Front End Developers use when creating interactive dashboards or data driven web applications. The course covers how to use JavaScript's map and filter methods, as well as D3.js's scaling functions, all of which are valuable when working with data in a front end environment. This course may be useful because it builds a foundation for visualizing data effectively.
Full-Stack Developer
Full Stack Developers work on both the front end and back end of web applications. This course may not be relevant to back end development, but enhances skills valuable to front end development, particularly data visualization using JavaScript and D3.js. The course teaches you how to process data to pull out relevant information, structure the data for visualizing, use JavaScript's map and filter methods, and use D3.js's scaling functions. Full Stack Developers can leverage these skills in various visualization tasks.
Software Engineer
Software Engineers design, develop, and test software applications. This course may be helpful in learning how to create data visualizations using JavaScript and D3.js, enabling one to create interactive dashboards and data driven applications. The course offers practical experience in processing data, extracting relevant information, and structuring it effectively. This course may be useful because it provides valuable hands on experience.
Machine Learning Engineer
Machine Learning Engineers develop and deploy machine learning models. Creating visualizations to understand model performance or to present insights to stakeholders may be neccessary. This course may be useful in learning how to create data visualizations using JavaScript and D3.js, enabling one to create interactive dashboards and data driven applications. The course offers practical experience in processing data, extracting relevant information, and structuring it effectively. This course may be useful because it provides valuable hands on experience.
Data Scientist
Data Scientists use statistical methods to analyze data and extract insights. While many data science applications rely on Python or R, this course enhances a Data Scientist's ability to create compelling visualizations using JavaScript and D3.js. The course covers how restructure data, which can be useful when creating visual tools for exploring data or communicating analysis results to stakeholders. This course may be useful for data scientists who want to broaden their skills.
Data Analyst
Data Analysts examine and interpret data to identify trends, patterns, and insights that can help organizations make better decisions. While most Data Analysts use tools like Python or R to perform analysis, this course helps you understand how JavaScript and D3.js may be useful for creating interactive data visualizations. The course's focus on processing data to pull out relevant information and structure it can enhance a Data Analyst's ability to communicate findings effectively. This course may be useful for improving communication of results.
Research Scientist
Research Scientists, who typically have advanced degrees, conduct research to advance knowledge in their field. This course enhances a scientist's ability to create dynamic and interactive data visualizations using JavaScript and D3.js. The course teaches you how to process data, extract relevant information, and structure it effectively for visual representation. As a result, a Research Scientist may find this course to be useful for presenting data in a compelling way when disseminating research.
Quantitative Analyst
Quantitative Analysts, often requiring an advanced degree, apply mathematical and statistical methods to financial and risk management problems. While their work often involves complex modeling, presenting findings clearly is crucial. This course offers a chance to translate complex data into understandable visualizations using JavaScript and D3.js. The course provides a practical understanding of data structuring and visual representation, which can enhance a Quantitative Analyst's ability to communicate insights effectively. This course may be useful in improving communications.
Bioinformatician
Bioinformaticians, who often have advanced degrees, analyze biological data using computational tools to gain insights into biological processes. This includes analyzing genomic, proteomic, and other types of biological datasets. This course enhances your ability to create dynamic and interactive data visualizations using JavaScript and D3.js. The course teaches you how to process data, extract relevant information, and structure it effectively for visual representation. A Bioinformatician may find this course to be useful for presenting data in a compelling way.

Reading list

We've selected two books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in How to Process Time Series Data with JavaScript.
Provides a comprehensive introduction to D3.js, covering fundamental concepts and practical examples. It is particularly helpful for understanding how to create interactive visualizations, which key component of the course. The book offers a step-by-step approach, making it suitable for both beginners and those with some prior experience. It serves as a valuable reference for implementing the data visualization techniques taught in the course.
Provides a practical guide to creating data visualizations using JavaScript libraries like D3.js. It covers a wide range of chart types and techniques, offering valuable insights into effective data representation. While it may not delve as deeply into the theoretical aspects, it excels in providing hands-on examples and code snippets. This book useful resource for those looking to quickly implement data visualizations in their projects.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Similar courses are unavailable at this time. Please try again later.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser