An extremely fast JavaScript bundler written in Go.
- public
- favicon.ico
- locales
- ...
An extremely fast JavaScript bundler written in Go.
This line chart is constructed from a TSV file storing the daily average temperatures of New York, San Francisco and Austin over the last year. The chart employs conventional margins and a number of D3 features:
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.link { | |
fill: none; | |
stroke: #666; | |
stroke-width: 1.5px; | |
} |
This example demonstrates how to rotate axis labels by 45° using post-selection. With funny bounce effect :)
This example demonstrates path interpolation using SVG's getPointAtLength feature. The source path and the target path are sampled uniformly using a configurable precision in pixels (here, 4px). During the transition, the path is replaced with a piecewise linear curve, or polyline, for easier interpolation. When the transition finishes, the path is restored to the original cubic Bézier. This technique is handy because it works for any path expressible with SVG's path data mini-language.
See also the circular shape tweening example.
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font: 10px sans-serif; | |
} | |
.axis path, .axis line { | |
fill: none; |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<style> | |
svg { | |
font: 10px sans-serif; | |
} | |
.axis { |
describe("menu", function () { | |
beforeEach(function(){ | |
var ac = $('#menu1').menu(); | |
var item0 = $("li:eq(0) a"); | |
}); | |
it("should has should have aria features", function() { | |
var item; | |
expect(ac.hasClass("ui-menu ui-widget ui-widget-content ui-corner-all")).toEqual(true); | |
expect(ac.attr("role")).toEqual("listbox"); |