|
@ -8,6 +8,6 @@ let canvas = d3.select('svg') |
|
|
const url = '/forcast.xml' |
|
|
const url = '/forcast.xml' |
|
|
d3.xml(url).then(function(xmldoc) { |
|
|
d3.xml(url).then(function(xmldoc) { |
|
|
let data = readxml(xmldoc) |
|
|
let data = readxml(xmldoc) |
|
|
render_astronomy(canvas, 80, 25, data) |
|
|
|
|
|
|
|
|
render_astronomy(canvas, 80, 18, data) |
|
|
render_temperature(canvas, 500, 80, data) |
|
|
render_temperature(canvas, 500, 80, data) |
|
|
}) |
|
|
}) |