score:1
Accepted answer
The path has no d
attribute. Some debugging in the code shows, that the function areaFcn
returns undefined. Change it to this and it'll work:
var areaFcn = d3.svg.area()
.x(function(d, i) {
return xScaleT(d.t); })
.y0(function(d) {
return yScale(d.y0); })
.y1(function(d) {
return yScale(d.y0 + d.y); });
Source: stackoverflow.com
Related Query
- path not drawn in d3 stacked area chart
- Stacked area chart SVG path d=NaNNaNNaN
- d3.js Stacked Area chart - not appearing
- Stacked Area Chart in nvd3js - X Axis overflow
- Combining stacked area chart and brushing in D3
- SVG not drawn outside the visible area of Google Maps
- nvd3 stacked area chart looks glitchy how to fix?
- Stacked Bar Chart using d3.js stack layout; the bar sections not always in correct place
- area chart with d3 is not rendering on jsp page but working fine with html
- NVD3 Stacked Area Chart
- SVG path goes beyond chart area on d3 brush
- Append a line to an end of a path in area chart d3
- Stacked bar chart not updating correctly d3js
- D3 dots do not match curved area chart
- d3 area chart not being displayed
- d3js chart dots and area not updating
- D3js responsive stacked bar chart - other topics solutions not working
- d3js multi-line chart is being drawn off the plot area - is update pattern to the issue?
- D3.JS to create a Stacked Area Chart
- C3.js make area chart not opaque
- Why is my D3 stacked area chart flipped?
- Pie Chart not rendering in dashboard area using D3 v5
- D3: Stacked bar chart exit().remove() not removing bars
- nvd3 multibar chart with stacked option the bars are not appearing properly
- d3.js Stacked Bar Chart working for one dataset but not the other
- Why labels on chart are not shown when drawn after axes
- d3-voronoi-map path not drawn
- Line Chart path in D3 JS not displaying Properly
- Hide labels in narrow areas of stacked area chart (D3 Observable)
- Stacked bar chart not showing and no errors in console log either
More Query from same tag
- Scaling the filling portion of an SVG path
- Events in d3 graphs
- d3 bar chart with range selector in x-axis (like dygraphs)
- Brush and transition coexist
- D3 V4 ticks line x1 value
- D3 Force directed layout + All nodes to original positions
- D3 Sankey diagram with dynamic height\width
- Possible d3 Bug: dragend fires without any drag event
- Make appearance of one svg change based on action taken in other svg
- filter data from csv using array filter not working as expected
- X Axis text labels are not rotating in d3
- Resizing choropleth datamaps into container in datamaps
- How to inflate data with d3.js to display an area for each datapoint
- Use Json file for d3.js-graph
- D3.js Circle Graph Layout not showing TypeError
- Why can I input an argument on a scale?
- Integrating AngularJS and DagreD3 - AngularJS directive does not update on model change.
- d3.js zooming only works when cursor over pixels of graph
- How to add tool-tip in d3 group chart using csv file
- Iterative call to a function on d3.js
- In d3js, how to plot line chart from csv file, taking data from seperate columns for each row
- JavaScript Parsing error
- d3 selection append element inside another
- Explain d3js projection fundamentals
- Creating a d3 style chained function
- Y axis label not displaying large numbers - Multi-Bar Chart
- How to plot one circle after another with some delay?
- D3 force directed graph moving text
- How to change the existing html text in a D3 rect?
- d3.scaleSequential "interpolator is not a function"