Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
JavaScriptCollection
/
d3
Public
forked from
d3/d3
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
d3
src
scale
linear.js
on
line-copy
User selector
All users
All time
Commit history
Commits on Oct 17, 2013
Reformat code.
mbostock
committed
d036480
View commit details
Copy full SHA for d036480
View code at this point
Browse repository at this point
Make d3_scale_linearTickFormat handle formats specifiers "r" and "p".
hlvoorhees
committed
4fa78bb
View commit details
Copy full SHA for 4fa78bb
View code at this point
Browse repository at this point
Refactor d3_scale_linearTickFormat to only compute precision when necessary.
Show description for 3eb988f
hlvoorhees
committed
3eb988f
View commit details
Copy full SHA for 3eb988f
View code at this point
Browse repository at this point
Commits on Oct 16, 2013
Parse the format specifier passed to d3_scale_linearTickFormat.
Show description for bf932d0
hlvoorhees
committed
bf932d0
View commit details
Copy full SHA for bf932d0
View code at this point
Browse repository at this point
Commits on Oct 9, 2013
Fix linear scale tick precision bug for non-fixed-point formats.
hlvoorhees
committed
f3e1925
View commit details
Copy full SHA for f3e1925
View code at this point
Browse repository at this point
Commits on Aug 2, 2013
Fix #1435 - use ten ticks by default.
Show description for 7169511
mbostock
committed
7169511
View commit details
Copy full SHA for 7169511
View code at this point
Browse repository at this point
Commits on Jun 13, 2013
Condense code.
mbostock
committed
239d794
View commit details
Copy full SHA for 239d794
View code at this point
Browse repository at this point
More flexible scale.nice. Fixes #1088.
mbostock
committed
60576ba
View commit details
Copy full SHA for 60576ba
View code at this point
Browse repository at this point
Commits on Mar 14, 2013
Refactor scale tests for minimal load.
mbostock
committed
e1842fc
View commit details
Copy full SHA for e1842fc
View code at this point
Browse repository at this point
Refactor interpolate tests for minimal loading.
mbostock
committed
697db52
View commit details
Copy full SHA for 697db52
View code at this point
Browse repository at this point
Commits on Mar 13, 2013
Better logical grouping of files.
mbostock
committed
05e4916
View commit details
Copy full SHA for 05e4916
View code at this point
Browse repository at this point
Smashing scales and svg.
mbostock
committed
0682c18
View commit details
Copy full SHA for 0682c18
View code at this point
Browse repository at this point
Smashing.
mbostock
committed
83d72a2
View commit details
Copy full SHA for 83d72a2
View code at this point
Browse repository at this point
Commits on Mar 12, 2013
Automatic precision for custom tick formats.
Show description for d0441e6
mbostock
committed
d0441e6
View commit details
Copy full SHA for d0441e6
View code at this point
Browse repository at this point
Commits on Aug 1, 2012
Fix nice implementation for time scales.
Show description for 7133162
mbostock
committed
7133162
View commit details
Copy full SHA for 7133162
View code at this point
Browse repository at this point
Commits on Feb 18, 2012
Merge branch 'tweaks' of https://github.com/jasondavies/d3 into v2.8.0
mbostock
committed
cfd5915
View commit details
Copy full SHA for cfd5915
View code at this point
Browse repository at this point
Commits on Feb 14, 2012
Define behavior for mismatched domain & range.
mbostock
committed
744aa96
View commit details
Copy full SHA for 744aa96
View code at this point
Browse repository at this point
Commits on Feb 13, 2012
Remove a few more extraneous semicolons.
jasondavies
committed
8182f8d
View commit details
Copy full SHA for 8182f8d
View code at this point
Browse repository at this point
Commits on Jan 29, 2012
Sub-second and multi-year ticks for time scales.
Show description for 117942e
mbostock
committed
117942e
View commit details
Copy full SHA for 117942e
View code at this point
Browse repository at this point
Commits on Nov 22, 2011
dispatch.on(name) returns the current listener.
Show description for 1b3a3b3
mbostock
committed
1b3a3b3
View commit details
Copy full SHA for 1b3a3b3
View code at this point
Browse repository at this point
Commits on Aug 12, 2011
Add scale.copy.
Show description for 5d17075
mbostock
committed
5d17075
View commit details
Copy full SHA for 5d17075
View code at this point
Browse repository at this point
Commits on Jul 20, 2011
Add d3.time.scale.
mbostock
committed
e2187aa
View commit details
Copy full SHA for e2187aa
View code at this point
Browse repository at this point
Commits on Jun 27, 2011
removing trailing commas inside object
vthiagu
committed
6b9d033
View commit details
Copy full SHA for 6b9d033
View code at this point
Browse repository at this point
Commits on Jun 24, 2011
Refactor ticks implementation.
Show description for 2eba032
mbostock
committed
2eba032
View commit details
Copy full SHA for 2eba032
View code at this point
Browse repository at this point
Commits on Jun 17, 2011
Linear and log ticks: support descending domains.
Show description for c159980
jasondavies
committed
c159980
View commit details
Copy full SHA for c159980
View code at this point
Browse repository at this point
Commits on Jun 12, 2011
Better nicing for pow scales.
mbostock
committed
1dfcda4
View commit details
Copy full SHA for 1dfcda4
View code at this point
Browse repository at this point
Commits on Jun 11, 2011
Reduce code duplication.
Show description for 0607c58
mbostock
committed
0607c58
View commit details
Copy full SHA for 0607c58
View code at this point
Browse repository at this point
Commits on Jun 7, 2011
Support for "nice" polylinear scales.
jasondavies
committed
ea8e878
View commit details
Copy full SHA for ea8e878
View code at this point
Browse repository at this point
Commits on Jun 6, 2011
Add d3.scale.linear().nice().
Show description for cdf5f2f
jasondavies
committed
cdf5f2f
View commit details
Copy full SHA for cdf5f2f
View code at this point
Browse repository at this point
Commits on May 8, 2011
Rename a variable.
mbostock
committed
c99678e
View commit details
Copy full SHA for c99678e
View code at this point
Browse repository at this point
Refactor polylinear scales.
Show description for e67e7d7
mbostock
committed
e67e7d7
View commit details
Copy full SHA for e67e7d7
View code at this point
Browse repository at this point
Commits on May 5, 2011
Polylinear scales. Fixes #61.
Show description for 1a83029
jasondavies
committed
1a83029
View commit details
Copy full SHA for 1a83029
View code at this point
Browse repository at this point
Commits on Apr 14, 2011
Rename private variable `clamp`.
mbostock
committed
7f31d33
View commit details
Copy full SHA for 7f31d33
View code at this point
Browse repository at this point
Commits on Apr 12, 2011
rename clamped() method to clamp()
NelsonMinar
committed
c7c9e7f
View commit details
Copy full SHA for c7c9e7f
View code at this point
Browse repository at this point
Commits on Apr 10, 2011
shorter clamp implementation suggested by mbostock
NelsonMinar
committed
2603082
View commit details
Copy full SHA for 2603082
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.