mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: correct D3 lecture image alt text (#67476)
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ In the prior lessons, you were introduced to data visualization which is the pro
|
||||
|
||||
The D3 library is a free and open source library you can use to create compelling and effective data visualizations in JavaScript.
|
||||
|
||||
<img src="https://cdn.freecodecamp.org/curriculum/lecture-transcripts/what-is-the-d3-library-used-for-1.png" alt="A graph with four nodes labeled A, B, C, and D. Node A connects to B, C, and D. Node B connects to A and D. Node C connects to A. Node D connects to A and B. It's the same image as before.">
|
||||
<img src="https://cdn.freecodecamp.org/curriculum/lecture-transcripts/what-is-the-d3-library-used-for-1.png" alt="A green choropleth map of the United States showing county-level data, with a color scale ranging from light green (3%) to dark green (60%+)">
|
||||
|
||||
|
||||
The name D3 is an abbreviation for data-driven documents, referring to how it dynamically binds data to elements in the Document Object Model (DOM). This library is flexible and works naturally with the web. Instead of having to learn a whole new graphical representation, you can build data visualizations with `svg` and `canvas` elements.
|
||||
@@ -26,7 +26,7 @@ For example, if you want to create a bar chart using D3, you can do the followin
|
||||
|
||||
* Create the SVG container with the bars and labels
|
||||
|
||||
<img src="https://cdn.freecodecamp.org/curriculum/lecture-transcripts/what-is-the-d3-library-used-for-2.png" alt="A graph with four nodes labeled A, B, C, and D. Node A connects to B, C, and D. Node B connects to A and D. Node C connects to A. Node D connects to A and B. It's the same image as before.">
|
||||
<img src="https://cdn.freecodecamp.org/curriculum/lecture-transcripts/what-is-the-d3-library-used-for-2.png" alt="A bar chart titled United States GDP showing Gross Domestic Product from 1947 to 2015, with values rising from near zero to approximately 18,000">
|
||||
|
||||
So what are some other reasons to learn D3 over other visualization tools like Chart.js, Plotly, or Tableau?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user