Skip to content

Commit f7b4eee

Browse files
committed
add d3 page and new git resource
1 parent 72383b3 commit f7b4eee

File tree

5 files changed

+93
-2
lines changed

5 files changed

+93
-2
lines changed

content/pages/02-development-environments/08-git.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ developers. The following tutorials can quickly get you up to speed.
3636
for both non-programmers and junior developers who want to learn everything
3737
from terminology to workflow.
3838

39+
* [A Hacker's Guide to Git](http://wildlyinaccurate.com/a-hackers-guide-to-git)
40+
is a free ebook written for experienced developers that contains both
41+
the syntax and the conceptual ideas behind how Git works.
42+
3943
* [A Designer's Guide to Git](https://blog.marvelapp.com/designers-guide-git/)
4044
gives a beginner's Git overview for non-programmers. The tutorial also
4145
covers using Git clients such as the GitHub desktop application.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
title: d3.js
2+
category: page
3+
slug: d3-js
4+
sortorder: 0924
5+
toc: False
6+
sidebartitle: d3.js
7+
meta: d3.js is a JavaScript visualization library for creating interactive visuals for web browsers.
8+
9+
10+
# Data-Driven Documents (d3.js)
11+
[Data-Driven Documents (d3.js)](https://d3js.org/) is a
12+
[JavaScript](/javascript.html) visualization library used to create
13+
interactive visuals for web browsers.
14+
15+
<img src="/img/logos/d3js.png" width="100%" alt="Data-Driven Documents (d3.js) logo." class="technical-diagram">
16+
17+
18+
### d3.js tutorials
19+
d3.js has a steep learning curve so it is a good idea to read several
20+
tutorials before diving in and trying to create your own visualization
21+
from scratch.
22+
23+
* [The Hitchhiker’s Guide to d3.js](https://medium.com/@enjalot/the-hitchhikers-guide-to-d3-js-a8552174733a)
24+
is a wonderfully-written resource that explains the context for how
25+
d3.js works and how all the pieces can be used to create your desired
26+
visualizations.
27+
28+
* [d3.js first steps](https://www.dashingd3js.com/d3js-first-steps)
29+
contains the code and markup for building your first d3.js visual.
30+
31+
* [Let's Make a D3 Plugin](https://bost.ocks.org/mike/d3-plugin/) shows
32+
you how to create your own reusable plugin that you can use across
33+
multiple visualizations as a separate JavaScript library. d3.js
34+
version 4 is now widely used so don't worry about the note at the
35+
start of the article.
36+
37+
* [Reusable and extendable d3 charts](https://537.io/reusable-and-extendable-d3-charts/)
38+
is a natural extension of the d3 plugin post. It shows how to reuse
39+
visualization code between multiple visuals.
40+
41+
* [Visualizing Movement Data - Part I](https://omid.al/posts/2016-08-23-MocapVis-D3.html)
42+
provides a detailed example of how to draw a complex visualization.
43+
44+
* This [Fantasy Map Generator](https://bl.ocks.org/Azgaar/b845ce22ea68090d43a4ecfb914f51bd)
45+
is such a cool example of what d3.js can procedurally generate based on
46+
a set of inputs.
47+
48+
* [Building dashboards with Django and D3](http://www.dreisbach.us/blog/building-dashboards-with-django-and-d3/)
49+
50+
* [Argyle](http://bl.ocks.org/veltman/f24fba4f6549639cacfd4d0a50e9d4b8) in
51+
d3? Oh yes, the library can do that, and here is the code to prove it.
52+
53+
54+
### Charts with d3.js
55+
* [Responsive D3js Charts](http://ablesense.com/responsive-d3js-charts/)
56+
shows how to take a static line chart and make it
57+
[responsive](/responsive-design.html) when the browser size changes.
58+
59+
* [Resize to Scale with d3.js](http://www.thesoftwaresimpleton.com/blog/2015/11/16/resize-d3/)
60+
gives code for a render function that adjusts the size of the viewing
61+
window based on the parent element for the visualization.
62+
63+
* [Make great-looking d3.js charts in Python without coding a line of JavaScript](http://dataviztalk.blogspot.com/2016/01/make-great-looking-d3js-charts-in.html)
64+
combines a Python backend with the
65+
[python-nvd3](https://github.com/areski/python-nvd3) library to
66+
generate d3.js charts without having to hand-write the JavaScript code.
67+
If you are interested in a solution like this for your own visualizations
68+
then you should also check out [Bokeh](/bokeh.html).
69+

static/img/logos/d3js.png

19.1 KB
Loading

theme/templates/choices/d3-js.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<h3>What else would you like to learn about Python and data?</h3>
2+
<div class="row">
3+
<div class="col-md-4">
4+
<div class="well select-next">
5+
{% include "choices/buttons/databases.html" %}
6+
</div>
7+
</div>
8+
<div class="col-md-4">
9+
<div class="well select-next">
10+
{% include "choices/buttons/no-sql-datastore.html" %}
11+
</div>
12+
</div>
13+
<div class="col-md-4">
14+
<div class="well select-next">
15+
{% include "choices/buttons/why-use-python.html" %}
16+
</div>
17+
</div>
18+
</div>

theme/templates/table-of-contents.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,14 +271,14 @@ <h4 class="toc-subsection">9.3 <a href="/no-sql-datastore.html">NoSQL</a></h4>
271271
<div class="toc"><a href="/neo4j.html">Neo4j</a></div>
272272

273273
<h4 class="toc-subsection">9.4 <span class="soon">Data analysis</span></h4>
274-
<div class="toc soon">Pandas</div>
274+
<div class="toc"><a href="/pandas.html">pandas</a></div>
275275
<div class="toc soon">NumPy</div>
276276
<div class="toc soon">SciPy</div>
277277
<div class="toc soon">Blaze</div>
278278

279279
<h4 class="toc-subsection">9.5 <span class="soon">Data visualization</span></h4>
280280
<div class="toc"><a href="/bokeh.html">Bokeh</a></div>
281-
<div class="toc soon">d3.js</div>
281+
<div class="toc"><a href="/d3-js.html">d3.js</a></div>
282282
<div class="toc soon">matplotlib</div>
283283
<div class="toc soon">Seaborn</div>
284284

0 commit comments

Comments
 (0)