From b05d8676db223b05c1f9512488f0d334209a44f8 Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Sun, 7 Aug 2016 07:51:27 -0700 Subject: [PATCH] Update README. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b7e7a99b..2772174f 100644 --- a/README.md +++ b/README.md @@ -32,13 +32,13 @@ You can also use the standalone D3 microlibraries. For example, [d3-selection](h ``` -D3 is written using [ES2015 modules](http://www.2ality.com/2014/09/es6-modules-final.html). Create a [custom bundle using Rollup](http://bl.ocks.org/mbostock/bb09af4c39c79cffcde4), Webpack, or your preferred bundler. To import D3 into an ES2015 application, either import the specific symbols you want to use: +D3 is written using [ES2015 modules](http://www.2ality.com/2014/09/es6-modules-final.html). Create a [custom bundle using Rollup](http://bl.ocks.org/mbostock/bb09af4c39c79cffcde4), Webpack, or your preferred bundler. To import D3 into an ES2015 application, either import specific symbols: ```js import {scaleLinear} from "d3"; ``` -Or, import everything into a namespace (here, `d3`, but use whatever symbol you prefer): +Or import everything into a namespace (here, `d3`): ```js import * as d3 from "d3";