Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@density/chart-daily-metrics

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@density/chart-daily-metrics - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

5

dist/index.js

@@ -21,3 +21,3 @@ 'use strict';

var margin = { top: 50, right: 20, bottom: 30, left: 50 };
var margin = { top: 50, right: 20, bottom: 30, left: 20 };

@@ -33,4 +33,2 @@ function dailyMetrics(elem) {

var yAxisGroup = g.append("g").attr("class", "daily-metrics-axis daily-metrics-axis-y");
return function (_ref) {

@@ -62,3 +60,2 @@ var data = _ref.data,

xAxisGroup.attr("transform", "translate(0," + graphHeight + ")").call(d3.axisBottom(xScale));
yAxisGroup.call(d3.axisLeft(yScale).ticks(10).tickFormat(d3.format("d")));

@@ -65,0 +62,0 @@ var dataSelection = g.selectAll(".daily-metrics-bar-group").data(data);

7

index.js

@@ -5,3 +5,3 @@ import moment from 'moment';

const margin = {top: 50, right: 20, bottom: 30, left: 50};
const margin = {top: 50, right: 20, bottom: 30, left: 20};

@@ -18,5 +18,2 @@ export default function dailyMetrics(elem, props={}) {

const yAxisGroup = g.append("g")
.attr("class", "daily-metrics-axis daily-metrics-axis-y");
return ({data, width, height}) => {

@@ -50,4 +47,2 @@ svg

.call(d3.axisBottom(xScale));
yAxisGroup
.call(d3.axisLeft(yScale).ticks(10).tickFormat(d3.format("d")));

@@ -54,0 +49,0 @@ const dataSelection = g.selectAll(".daily-metrics-bar-group").data(data);

{
"name": "@density/chart-daily-metrics",
"version": "0.1.0",
"version": "0.2.0",
"description": "Daily Metrics chart",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc