This is a collection of code completions and snippets to make working with and learning D3.js a little easier and quicker.
-
Code completions and context menu for the entire D3.js library.
-
The context menu is organized to match D3's API Reference and is accessible by right-click, two-finger tap, or ctrl+click.
-
Example:
-
-
code snippets for the changes from v3 to v4.
- Accessible from the command pallette (Mac: Cmd+Shift+P, Windows: Ctrl+Shift+P).
- Typing a v3 command or partial string will suggest the v4 equivalent.
-
convenience snippets of commonly used features of D3.js
Please let me of any typos, if anything is missing, or of any requests for convenience snippets to be added.
Download the zipped repo and unzip it into Sublime Text's packages folder:
- Mac: ~/Library/Application Support/Sublime Text 3/Packages/
- Windows: C:\Users%userprofile%\AppData\Roaming\Sublime Text 3\Packages
===========================
This is partially an update to fabriciotav's Sublime Text 2 plug-in, D3.js snippets for Sublime Text 2