码迷,mamicode.com
首页 >  
搜索关键字:d3    ( 1058个结果)
[D3JS] Add more map layer and color
import React, {Component} from 'react'; import * as d3 from 'd3'; import 'd3-geo'; import * as topojson from 'topojson'; import * as colorbrewer from ... ...
分类:Web程序   时间:2017-09-14 10:30:11    阅读次数:248
[D3] Add image to the node
We can create node with 'g' container, then append 'image' to the nodes. Then on each 'tick', we need to position the nodes: ...
分类:其他好文   时间:2017-09-07 10:11:59    阅读次数:229
d3.js多个坐标轴柱状图
最终效果图镇楼: 一、简单图表 示意图: 代码: 二、多个x轴 示意图: 代码: 三、多个x、y轴 示意图: 代码: 源码下载:src ...
分类:Web程序   时间:2017-09-04 16:55:56    阅读次数:219
d3创建多个svg元素
当然也可以创建dom var svg = d3.select('#svg'); svg .slectAll('circle.bb') //选中DOM中的所有circle.bb标签,当DOM中不存在circle.bb时,那么这个返回值将是null .data(new Array(50)) //计算并且 ...
分类:其他好文   时间:2017-09-04 11:55:14    阅读次数:189
Excel小tips - 如何实现多列成绩统一排名
本文参考:http://mp.weixin.qq.com/s/XR49hyG9Cods7rOcsM-tRg 如果有以下数据文件,需要进行成绩排名。 第一步:先在成绩列后边添加一列,用来显示名次。如下: 第二步:选中D3,输入公式。如下: 注意公式输入要准确。外层括号第一个参数C2,指定了当前需要进行 ...
分类:其他好文   时间:2017-08-28 20:05:21    阅读次数:184
[算法]滴滴笔试题——赛马问题
问: 25匹马,5个跑道,每个跑道最多能有1匹马进行比赛,最少比多少次能比出前3名? 答: 求前3名要7次; 将马分成A、B、C、D、E五组。 第1-5次比赛:各组分别进行比赛,决出各组名次,取每组前三名 A1、A2、A3, B1、B2、B3, C1、C2、C3, D1、D2、D3, E1、E2、E ...
分类:编程语言   时间:2017-08-26 21:27:42    阅读次数:212
一个设备上添加两个ip
#cd/etc/sysconfig/network-script#cpifcfg-eth0ifcfg-eth0:0#viifcfg-eth0:0PEERDNS=yes#IntelCorporation82566DM-2GigabitNetworkConnectionDEVICE=eth0:0------------->与文件名一致BOOTPROTO=noneHWADDR=00:01:6C:20:D3:F0ONBOOT=yesNETMASK=255.255.255.0IPADDR=10.141..
分类:其他好文   时间:2017-08-25 17:41:22    阅读次数:134
[D3] Animate with the General Update Pattern in D3 v4
In D3, the General Update Pattern is the name given to what happens when a data join is followed by operations on the enter, update, and exit selectio ...
分类:其他好文   时间:2017-08-24 21:32:58    阅读次数:129
[D3] Reuse Transitions in D3 v4
D3 transitions start executing as soon as they’re created, and they’re destroyed once they end. This can present some challenges when attempting to cr ...
分类:其他好文   时间:2017-08-22 23:09:55    阅读次数:218
D3+Leaflet
前言:虽然Leaflet提供了强大的画图工具,不过它的速度不是很尽人意,当数据量较大的时候,需要较长的渲染时间,交互好感度会降低。因此我们可以考虑使用D3,在leaflet的地图上蒙上一个svg,在svg上画图会加快一些速度,获得更好的交互体验。 D3官网上有Leaflet+D3的相关介绍https ...
分类:其他好文   时间:2017-08-21 15:53:45    阅读次数:474
共1058条   上一页 1 ... 23 24 25 26 27 ... 106 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!