nvd3 Charts Knowledge Base

D3.svg

Flaky Features

Feature

Chart Type

syntax

Problem

Axis VisibilityLine Chart
.showYAxis(true)
Toggles Axis Tick LabelsFunction should be .showYAxisLabels
Line with Focus ChartToggles Axis Ticks and Labelsshould be separate functions

Helpful nvd3 Resources

Issue

Chart Type

Link

Note

Tic Misalignment with datesLineStack OverflowFor round dates
Tic Misalignment with timesLine same link, further down Time Series with .useInteractiveGuideline
Styling Chart ElementsAnyGithubResizing changes colors
Drawing LifecycleAnynvd3.org
Time Series exampleLineGitHubGood Starter
Time Series Done RightLinejsFiddleVery Good starter
Another Time Series ExampleLinenvd3
D3 FormattingGithub
D3 Time FormatsBostockYou can’t guess them all
Angular DirectivesAllGithubLots of option settings – Angular not required
Responsive AllStack Overflowd3.js
ResponsiveAllGithubd3.js oriented too
Reverse X and YAllTimely PortfolioLots of other examples
Continuous FlowTimePlunker
Click EventsAnyPlunker
Stack Overflow

D3 Techniques

Issue

Link

Note

Assign multiple attributes efficientlyStack OverflowFor round dates
Groups and TransformsStack Overflow
Cool examplesrCharts

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.